<div dir="ltr">There really isn't much in the way of mail settings in rancid.conf. You can force/override your FQDN if your MTA isn't doing that for you and you can change the headers from Bulk to something of higher priority if necessary. I wouldn't necessarily expect either of those settings to be an issue if you're getting some of the mail.<div><br></div><div>I assume you've run mailq and verified that there's nothing that's pending or failing in the outbound queue? Depending on the size of the diffs, especially on first run, they may be getting blocked by the receiving server. There's an option in rancid.conf to split large messages into smaller pieces which might be worth exploring.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 8:29 AM Marijn van Gool <<a href="mailto:marijn.vangool@comsave.com">marijn.vangool@comsave.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Dan,<div><br></div><div>Thanks for your quick response.</div><div>I understand that Rancid is not responsible for e-mail issues.</div><div><br></div><div>Only the weird thing is, the e-mail part is actually working, because what I DO receive is the following (everytime I add or delete a router).</div><div>That’s why I would think something is wrong in my Rancid configuration.</div><div><br></div><div><font face="Menlo" style="font-size:11px">Subject: changes in core routers</font></div><div><font face="Menlo" style="font-size:11px"><br></font></div><div><font face="Menlo" style="font-size:11px">Routers changed to up:<br> </font><span style="font-family:Menlo;font-size:11px">device3</span><font face="Menlo" style="font-size:11px">;juniper<br><br>Added routers:<br> </font><span style="font-family:Menlo;font-size:11px">device3</span><font face="Menlo" style="font-size:11px">;juniper</font><br><div><br></div><div><br></div><div><b>/etc/aliases:</b></div><div><b><br></b></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">root@rancid:~# cat /etc/aliases</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"># See man 5 aliases for format</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">postmaster: <span style="white-space:pre-wrap"> </span>root</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">rancid-core:<span style="white-space:pre-wrap"> </span>my.e-mail.address</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">rancid-admin-core:<span style="white-space:pre-wrap"> </span></span>my.e-mail.address</div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">root@rancid:~# /usr/sbin/newaliases</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">WARNING: local host name (oxidized) is not qualified; see cf/README: WHO AM I?</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">/etc/mail/aliases: 3 aliases, longest 18 bytes, 78 bytes total</span></div></span></div></div></div><div><span style="font-family:Menlo;font-size:11px">root@rancid:~# su - rancid</span></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">rancid@rancid:~$ /var/lib/rancid/bin/rancid-run</span></div></div><div><br></div><div><b>configs:</b></div><div><b><br></b></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">rancid@oxidized:~$ ls /var/lib/rancid/core/configs</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">device1<span style="white-space:pre-wrap"> </span>device2<span style="white-space:pre-wrap"> </span></span>device3</div></div><div><br></div><div>Marijn</div><div><br><blockquote type="cite"><div>On 24 Apr 2020, at 14:14, Dan Anderson <<a href="mailto:dan.w.anderson@gmail.com" target="_blank">dan.w.anderson@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Section 6 in the FAQ (<a href="https://shrubbery.net/rancid/FAQ" target="_blank">https://shrubbery.net/rancid/FAQ</a>) is a good place to start. Email issues usually come down to configuration of your MTA. You need to have the appropriate rancid-XXX aliases defined.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 24, 2020 at 8:04 AM Marijn van Gool <<a href="mailto:marijn.vangool@comsave.com" target="_blank">marijn.vangool@comsave.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Of course, I’m not e-mailing to this list without having an issue :-)<div>But as the title suggests, I’m not receiving any e-mails, nor from diffs, nor the first time rancid ran.</div><div>I followed this guide: <a href="https://nsrc.org/workshops/2017/apricot2017/nmm/netmgmt/en/rancid/exercises-rancid.html" target="_blank">https://nsrc.org/workshops/2017/apricot2017/nmm/netmgmt/en/rancid/exercises-rancid.html</a></div><div><br></div><div>Marijn</div><div><div><br><blockquote type="cite"><div>On 24 Apr 2020, at 13:38, Marijn van Gool <<a href="mailto:marijn.vangool@comsave.com" target="_blank">marijn.vangool@comsave.com</a>> wrote:</div><br><div><div><div>Hello guys,</div><div><br></div>I’ve succesfully installed rancid 3.7 and I am getting configs and diffs.<div>I can also view changes made with svn.</div><div>No errors when running <span style="font-family:Menlo;font-size:11px"><b>/usr/lib/rancid/bin/rancid-run:</b></span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">starting: Fri Apr 24 13:34:44 CEST 2020</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"> </span><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">property 'svn:ignore' set on '.'</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">property 'svn:ignore' set on 'configs'</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Updating '.':</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">At revision 14.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Trying to get all of the configs.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">All routers successfully completed.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ending: Fri Apr 24 13:34:53 CEST 2020</span></div></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><b>svn diff -r13:14 IP-address | less</b></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">Index: IP-address</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">===================================================================</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">--- IP-address (revision 13)</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">+++ IP-address (revision 14)</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">@@ -770,7 +770,7 @@</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"> }</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"> }</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"> xe-0/0/1:2 {</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">- description test;</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">+ description FREE:;</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"> }</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"> xe-0/0/1:3 {</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"> description "FREE: “;</span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="font-family:Menlo;font-size:11px;margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;line-height:normal">What can I check?</div><div style="margin:0px;font-stretch:normal;line-height:normal"><br></div><div style="margin:0px;font-stretch:normal;line-height:normal">Marijn</div></span></div></div></div></blockquote></div><br></div></div>_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@www.shrubbery.net" target="_blank">Rancid-discuss@www.shrubbery.net</a><br>
<a href="https://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">https://www.shrubbery.net/mailman/listinfo/rancid-discuss</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Dan</div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Dan</div>