Discussion:
[rancid] - problem sending mail and matching configuration
Paolo De Michele
2012-03-09 11:18:56 UTC
Permalink
Hi all,

using rancid 2.3.8 with os ubuntu 11.04 server.
I did the various configurations and are quite happy with it.
My problem is that when software rancid makes a matching configuration
creates a new file.

What I would do is this:
- create a file when the new configuration is detected ( OK )
- send me an email with the changes detected in the new configuration

I failed in any way using /etc/aliases and sendmail to send a mail to an
address of a royal domain.
can you help me somehow?
thanks in advance
Paolo De Michele
2012-03-09 14:09:42 UTC
Permalink
How do I?
______hi
do you test to send an email using another domain
br
bha qaqish
__________________________________
Sent: Friday, March 09, 2012 1:18 PM
Subject: [rancid] - problem sending mail and matching configuration
Hi all,
using rancid 2.3.8 with os ubuntu 11.04 server.
I did the various configurations and are quite happy with it.
My problem is that when software rancid makes a matching configuration creates a new file.
- create a file when the new configuration is detected ( OK )
- send me an email with the changes detected in the new configuration
I failed in any way using /etc/aliases and sendmail to send a mail to an address of a royal domain.
can you help me somehow?
thanks in advance
Paolo De Michele
2012-03-10 13:59:41 UTC
Permalink
hi heasley,

thank you for your reply
Post by Paolo De Michele
using rancid 2.3.8 with os ubuntu 11.04 server.
I did the various configurations and are quite happy with it.
My problem is that when software rancid makes a matching configuration creates a new file.
- create a file when the new configuration is detected ( OK )
- send me an email with the changes detected in the new configuration
I failed in any way using /etc/aliases and sendmail to send a mail to an address of a royal domain.
can you help me somehow?
diffs are sent to rancid-<rancid group name>. you should test sending email
to that alias. administrative messages are send to rancid-admin-<rancid group
name>; so test that alias too.
If you can not get these aliases to work, refer to the mail lists or forums
that are for support of whatever you are using for you MTA, whether that is
sendmail or postfix.
if that does work; then look in the rancid logs files for errors.
You can have a config example file/etc/aliases?
Paolo De Michele
2012-03-12 18:16:06 UTC
Permalink
hi heasley,
Post by Paolo De Michele
hi heasley,
thank you for your reply
Post by Paolo De Michele
using rancid 2.3.8 with os ubuntu 11.04 server.
I did the various configurations and are quite happy with it.
My problem is that when software rancid makes a matching configuration creates a new file.
- create a file when the new configuration is detected ( OK )
- send me an email with the changes detected in the new configuration
I failed in any way using /etc/aliases and sendmail to send a mail to an address of a royal domain.
can you help me somehow?
diffs are sent to rancid-<rancid group name>. you should test sending email
to that alias. administrative messages are send to rancid-admin-<rancid group
name>; so test that alias too.
If you can not get these aliases to work, refer to the mail lists or forums
that are for support of whatever you are using for you MTA, whether that is
sendmail or postfix.
if that does work; then look in the rancid logs files for errors.
You can have a config example file/etc/aliases?
that is specific to your MTA and what you want to do. look for an aliases(5)
manpage.
I solved the problem with the provision of mail. I have configured
postfix as an agent and now are sent correctly
how do I send mails when rancid find differences in configurations?

thanks in advance
Paolo De Michele
2012-03-13 08:36:25 UTC
Permalink
hi heasley,
Post by Paolo De Michele
how do I send mails when rancid find differences in configurations?
see rancid_intro(1) man-page and the README that came with the rancid dist
for the aliases.
the problem is solved.
thanks for your cooperation

Continue reading on narkive:
Loading...