[rancid] Rancid and Postfix

Marito ... me_gogorza at hotmail.com
Thu Nov 17 18:06:17 UTC 2011

Hi all,

I tried several times to change the aliases file, but it then seems not to update the "little db" that postfix uses (it continued sending the email to the previous configured account).
So I gave up trying to make it work, and ended changing the script that make the thing (control_rancid).

I searched for :
# the receipient(s) of diffs
mailrcpt=${mailrcpt:-"@MAILPLUS@${GROUP}${MAILDOMAIN}"}; export mailrcpt
Then replaced @MAILPLUS@${GROUP}${MAILDOMAIN}  with my desired email account, and I got it working. 
Hope this help you.


From: oglumavd at gmail.com
To: michael6at at yahoo.de; rancid-discuss at shrubbery.net
Date: Wed, 16 Nov 2011 22:37:38 -0800
Subject: Re: [rancid] Rancid and Postfix

Have you tried to watch log mail logs?
Delete /home/rancid/logs/
Tail /var/logs/mail
Open another terminal window and ssh/telnet into your rancid box
Ø  Add a new device or make a change to device then run rancid manual
Ø  Rancid will trigger an email alert
Ø  Watch mail logs
Ø  Watch /home/rancid/logs/the-recentlog

From: michael schnatterer [mailto:michael6at at yahoo.de] 
Sent: Wednesday, November 16, 2011 12:28 AM
To: oglumavd at gmail.com; rancid-discuss at shrubbery.net
Subject: Re: [rancid] Rancid and Postfix



My Problem is not to send the E-Mail this works fine with the console "telnet localhost 25" i believe the problem is the communication between Rancid and postfix. I think postfix didn't recognize that Rancid is doing something.

My postfix/main.cf looks like the following:


myhostname = my hostname
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = IP of the E-Mail server,localhost
mynetworks = [::ffff:]/104 [::1]/128
mailbox_size_limit = 10
recipient_delimiter = +
default_destination_concurrency_limit = 100
relayhost = IP of the E-Mail Server
empty_address_recipient = My E-Mail


As you can see i have an relay host.

Please help me i am realy desperately.

Best Regards


Von: "oglumavd at gmail.com" <oglumavd at gmail.com>
An: 'michael schnatterer' <michael6at at yahoo.de>; rancid-discuss at shrubbery.net
Gesendet: 9:12 Mittwoch, 16.November 2011 
Betreff: RE: [rancid] Rancid and Postfix

Any changes on email server or aliases?   

Are you using relayhost, check vi /etc/postfix/main.cf and make sure admins are not blocking smtp-relay.


From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of michael schnatterer
Sent: Tuesday, November 15, 2011 2:19 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] Rancid and Postfix


Hey every body,


I have a maybe simple problem.

I have installed an configured Rancid 1 year ago, everything runs fine and Rancid backups every config change.

Now i would configure Rancid to send E-Mails with postfix.

I installed postfix and configure it. With telnet localhost 25 i could send E-Mails maually.

But now i have to configure aliases but i don't understand it. I have installed and configured Rancid like in this Tutorial. http://openmaniak.com/rancid_tutorial.php

Please help me to define Aliases i hav tried it with:

rancid-Grp Name: MY EMAIL ADDRESS

rancid-admin-GrpName: MY EMAIL ADDRESS

But nothing happens.


I hope somebody could help me



Best Regards
_______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20111117/a1277f23/attachment.html>

More information about the Rancid-discuss mailing list