Have a look in the Postfix log.
alexd
Hi Alex,
Can you verify the followings? I have this running on Ubuntu 10.x server.
1. install postfix (if already not done it)
apt-get install postfix
2. Edit Postfix configuration to reflect your setting, check sys admins for email setting.
#
...
vi /etc/postfix/main.cf
alias_database = hash:/etc/aliases
! if you
relayhost = your-email-server-address
...
#
3. Edit Rancid configuration.
vi /home/rancid/etc/rancid.conf
#
...
LIST_OF_GROUPS="ADMINS"
...
#
4. Edit aliases configuration, step # 3, LIST_OF_GROUPS=ADMINS" (this an example) must match the aliases configuration.
vi /etc/aliases
# Added by installer for initial user
rancid-ADMINS: myad...@mydomain.com
HTH,
-oglumavd
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.
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:micha...@yahoo.de]
Sent: Wednesday, November 16, 2011 12:28 AM
To: oglu...@gmail.com; rancid-...@shrubbery.net
Subject: Re: [rancid] Rancid and Postfix
HY,
http://lmgtfy.com/?q=updating+aliases.db+postfix&l=1
> 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
> adminmailrcpt=${mailrcpt:-"@ADMINMAILPLUS@${GROUP}${MAILDOMAIN}"};
>
>
> Then replaced @MAILPLUS@${GROUP}${MAILDOMAIN} with my desired email account, and I got it working.
>
> Hope this help you.
> Regards.-
>
> Mario
>
>
>
>
>
>
> From: oglu...@gmail.com
> To: micha...@yahoo.de; rancid-...@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:micha...@yahoo.de]
> Sent: Wednesday, November 16, 2011 12:28 AM
> To: oglu...@gmail.com; rancid-...@shrubbery.net
> Subject: Re: [rancid] Rancid and Postfix
>
>
>
> HY,
>
>
>
> 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 = 127.0.0.0/8 [::ffff:127.0.0.0]/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
>
>
>
>
>
>
>
>
>