[rancid] issues with email delivery

Delmiro Campelo delmiroc at gmail.com
Sun Jun 7 16:36:14 UTC 2015


Hi Alan, and thank you for helping with this. I was able to get it working
again by uninstalling postfix and reinstalling it. One more question, how
does rancid find mail server to send the email to ? is it based on MX
record for the email address specified in the aliases?

Thanks again,
Delmiro

On Sun, Jun 7, 2015 at 2:53 AM, Alan McKinnon <alan.mckinnon at gmail.com>
wrote:

> On 07/06/2015 03:28, Delmiro Campelo wrote:
> > Hello guys,
> >
> > I'm hoping that you can give me some ideas here. I'm in the process of
> > installing rancid and I thought I had it working but for some reason my
> > emails are sent to the wrong email address,
> > rancid-networking at realdomain.net
> > <mailto:rancid-networking at realdomain.net> is not valid and not what I
> > have specified in my aliases, I'm stuck on this :( how can I fix it ? i
> > need them to go to myemail at realdomain.net <mailto:myemail at realdomain.net
> >.
> >
> > I'm used this article as the guide to help me set it up
> >
> http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid#.VXNW70anFjY
> ,
> > please see below, and thank you for any help you can provide.
> >
> >
> **************************************************************************
> > rancid.conf file:
> > #
> > LIST_OF_GROUPS="networking"
> >
> > Aliases file:
> > /etc/aliases
> > # Rancid email addresses
> > #
> > rancid-networking:              myemail at realdomain.net
> > <mailto:myemail at realdomain.net>
> > rancid-admin-networking:        myemail at realdomain.net
> > <mailto:myemail at realdomain.net>
> >
> > PostFix log below:
> > Jun  6 20:00:17 vm-rancid postfix/qmgr[2246]: 400828034349: removed
> > Jun  6 20:00:35 vm-rancid postfix/pickup[2245]: 0464D8034349: uid=1001
> > from=<rancid>
> > Jun  6 20:00:35 vm-rancid postfix/cleanup[2302]: 0464D8034349:
> > message-id=<20150607010035.0464D8034349 at vm-rancid.realdomain.net
> > <mailto:20150607010035.0464D8034349 at vm-rancid.realdomain.net>>
> > Jun  6 20:00:35 vm-rancid postfix/qmgr[2246]: 0464D8034349:
> > from=<rancid at realdomain.net <mailto:rancid at realdomain.net>>, size=2360,
> > nrcpt=1 (queue active)
> > Jun  6 20:00:35 vm-rancid postfix/smtp[2309]: 0464D8034349:
> > to=<rancid-networking at realdomain.net
> > <mailto:rancid-networking at realdomain.net>>, orig_to=<rancid-networking>,
> > relay=mail.realdomain.net <http://mail.realdomain.net>[10.2.11.22]:25,
> > delay=0.32, delays=0.01/0/0.01/0.3, dsn=2.6.0, status=sent (250 2.6.0
> > <20150607010035.0464D8034349 at vm-rancid.realdomain.net
> > <mailto:20150607010035.0464D8034349 at vm-rancid.realdomain.net>>
> > [InternalId=7366618] Queued mail for delivery)
> > Jun  6 20:00:35 vm-rancid postfix/qmgr[2246]: 0464D8034349: removed
>
>
> That howto looks like something from Joe Random Blogger. It's suspect.
> It also references rancid 2.3.2, which is ancient.
>
> Current version is 3.2, and the first problem you are going to run into
> is the change in format of router.db
>
> Don't use that howto.
>
> Install rancid using any normal method (rpm, yum, tarball - the method
> does not matter) and then follow the text files supplied by rancid itself.
>
> Have you run newaliases since editing /etc/aliases?
>
>
> --
> Alan McKinnon
> alan.mckinnon at gmail.com
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150607/d9b6310f/attachment.html>


More information about the Rancid-discuss mailing list