[rancid] Rancid and Postfix

oglumavd at gmail.com oglumavd at gmail.com
Thu Nov 17 06:37:38 UTC 2011


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

 

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



 

  _____  

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

 

THANKS !

Best Regards

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20111116/e43a5a62/attachment.html>


More information about the Rancid-discuss mailing list