[rancid] Rancid not sending svn e-mail diffs

Marijn van Gool marijn.vangool at comsave.com
Fri Apr 24 13:40:47 UTC 2020


Hi Dan,

Well, there you have it..
I forgot to check my Junk inbox… and there they all are.

Thanks for taking the time to answer my dumb questions.

Have a nice weekend!

Marijn

> On 24 Apr 2020, at 15:19, Dan Anderson <dan.w.anderson at gmail.com> wrote:
> 
> 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.
> 
> 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.
> 
> On Fri, Apr 24, 2020 at 8:29 AM Marijn van Gool <marijn.vangool at comsave.com <mailto:marijn.vangool at comsave.com>> wrote:
> Hi Dan,
> 
> Thanks for your quick response.
> I understand that Rancid is not responsible for e-mail issues.
> 
> 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).
> That’s why I would think something is wrong in my Rancid configuration.
> 
> Subject: changes in core routers
> 
> Routers changed to up:
>        device3;juniper
> 
> Added routers:
>        device3;juniper
> 
> 
> /etc/aliases:
> 
> root at rancid:~# cat /etc/aliases
> # See man 5 aliases for format
> postmaster:    		root
> rancid-core:		my.e-mail.address
> rancid-admin-core:	my.e-mail.address
> 
> root at rancid:~# /usr/sbin/newaliases
> WARNING: local host name (oxidized) is not qualified; see cf/README: WHO AM I?
> /etc/mail/aliases: 3 aliases, longest 18 bytes, 78 bytes total
> root at rancid:~# su - rancid
> rancid at rancid:~$ /var/lib/rancid/bin/rancid-run
> 
> configs:
> 
> rancid at oxidized:~$ ls /var/lib/rancid/core/configs
> device1	device2	device3
> 
> Marijn
> 
>> On 24 Apr 2020, at 14:14, Dan Anderson <dan.w.anderson at gmail.com <mailto:dan.w.anderson at gmail.com>> wrote:
>> 
>> Section 6 in the FAQ (https://shrubbery.net/rancid/FAQ <https://shrubbery.net/rancid/FAQ>) 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.
>> 
>> On Fri, Apr 24, 2020 at 8:04 AM Marijn van Gool <marijn.vangool at comsave.com <mailto:marijn.vangool at comsave.com>> wrote:
>> Of course, I’m not e-mailing to this list without having an issue :-)
>> But as the title suggests, I’m not receiving any e-mails, nor from diffs, nor the first time rancid ran.
>> I followed this guide: https://nsrc.org/workshops/2017/apricot2017/nmm/netmgmt/en/rancid/exercises-rancid.html <https://nsrc.org/workshops/2017/apricot2017/nmm/netmgmt/en/rancid/exercises-rancid.html>
>> 
>> Marijn
>> 
>>> On 24 Apr 2020, at 13:38, Marijn van Gool <marijn.vangool at comsave.com <mailto:marijn.vangool at comsave.com>> wrote:
>>> 
>>> Hello guys,
>>> 
>>> I’ve succesfully installed rancid 3.7 and I am getting configs and diffs.
>>> I can also view changes made with svn.
>>> No errors when running /usr/lib/rancid/bin/rancid-run:
>>> 
>>> starting: Fri Apr 24 13:34:44 CEST 2020
>>>   
>>> property 'svn:ignore' set on '.'
>>> property 'svn:ignore' set on 'configs'
>>> Updating '.':
>>> At revision 14.
>>> 
>>> 
>>> Trying to get all of the configs.
>>> All routers successfully completed.
>>> 
>>> 
>>> ending: Fri Apr 24 13:34:53 CEST 2020
>>> 
>>> 
>>> svn diff -r13:14 IP-address | less
>>> 
>>> Index: IP-address
>>> ===================================================================
>>> --- IP-address      (revision 13)
>>> +++ IP-address      (revision 14)
>>> @@ -770,7 +770,7 @@
>>>          }
>>>      }
>>>      xe-0/0/1:2 {
>>> -        description test;
>>> +        description FREE:;
>>>      }
>>>      xe-0/0/1:3 {
>>>          description "FREE: “;
>>> 
>>> 
>>> What can I check?
>>> 
>>> Marijn
>> 
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at www.shrubbery.net <mailto:Rancid-discuss at www.shrubbery.net>
>> https://www.shrubbery.net/mailman/listinfo/rancid-discuss <https://www.shrubbery.net/mailman/listinfo/rancid-discuss>
>> 
>> 
>> -- 
>> Dan
> 
> 
> 
> -- 
> Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20200424/4dfb8df3/attachment.htm>


More information about the Rancid-discuss mailing list