Gerhard Mourani
2013-01-09 18:51:40 UTC
Hello list,
I've some difficulty receiving emails generated by Rancid in my inbox. Mail in general is working fine on the Linux OS and I can send other email without problem. Here my setup.
In my /etc/rancid.conf file, I've group called Cisco as follow:
LIST_OF_GROUPS="Cisco"
/etc/aliases, has Rancid entry as follow:
rancid-admin-cisco: rancid-cisco
rancid-cisco: root
rancid-admin: root
rancid: root
root: ***@domain.ca<mailto:***@domain.ca>
I use exim as mailer and has the following in /etc/exim.conf
begin rewrite
*@*.domain.ca ***@domain.ca<mailto:***@domain.ca>
The above mean to rewrite everything before @ and after @.domain.ca to ***@domain.ca<mailto:***@domain.ca> (i.e. rewrite rancid-***@host1.domain.ca<mailto:rancid-***@host1.domain.ca> to ***@domain.ca)
My problem is that Rancid try to send the email to ***@domain.ca<mailto:***@domain.ca> instead of ***@domain.ca<mailto:***@domain.ca> (From: ***@domain.ca<mailto:***@domain.ca> To: ***@domain.ca<mailto:***@domain.ca>) and I can't see why. However, if I run -> /usr/bin/rancid-run -m ***@domain.ca<mailto:***@domain.ca>, it work and I receive the email.
Gerhard,
I've some difficulty receiving emails generated by Rancid in my inbox. Mail in general is working fine on the Linux OS and I can send other email without problem. Here my setup.
In my /etc/rancid.conf file, I've group called Cisco as follow:
LIST_OF_GROUPS="Cisco"
/etc/aliases, has Rancid entry as follow:
rancid-admin-cisco: rancid-cisco
rancid-cisco: root
rancid-admin: root
rancid: root
root: ***@domain.ca<mailto:***@domain.ca>
I use exim as mailer and has the following in /etc/exim.conf
begin rewrite
*@*.domain.ca ***@domain.ca<mailto:***@domain.ca>
The above mean to rewrite everything before @ and after @.domain.ca to ***@domain.ca<mailto:***@domain.ca> (i.e. rewrite rancid-***@host1.domain.ca<mailto:rancid-***@host1.domain.ca> to ***@domain.ca)
My problem is that Rancid try to send the email to ***@domain.ca<mailto:***@domain.ca> instead of ***@domain.ca<mailto:***@domain.ca> (From: ***@domain.ca<mailto:***@domain.ca> To: ***@domain.ca<mailto:***@domain.ca>) and I can't see why. However, if I run -> /usr/bin/rancid-run -m ***@domain.ca<mailto:***@domain.ca>, it work and I receive the email.
Gerhard,