[rancid] Email notification problems.

Alan McKinnon alan.mckinnon at gmail.com
Fri Nov 6 19:41:43 UTC 2015

On 05/11/2015 16:37, Chris Davis wrote:
> Feel like an idiot for not being able to find this, but I’m looking for
> where a final address is picked up for email notifications.  We have a
> very short domain name for our institution and the full one as well. 
> Gone are the days when short and sweet were important.  We’re ending the
> mail delivery service to that domain.  So, I have to swap out the short,
> and put in the longer.  I checked everywhere I could think of, and found
> the aliases file in /etc.  It seemed to have all the right email address
> aliases so I updated the original email aliases with the longer domain
> named email addresses in the destination section of the alias.  I
> updated the aliases.db file without any problems. 
> But, as you can guess, the emails keep going to the original short
> domain addresses.  At some point, we’re going to pull the plug on the
> delivery.  Seems so bloody simple, but yet, I can’t seem to find the
> problem.  Any help is appreciated.  Thanks.  I’m running 2.3.8. 

Rancid mails the group name as a local recipient, so as you already
figured out you need a local MTA with an /etc/aliases. This usually
rewrites $rancid_group to $rancid_group at some-domain.com

If I read you correctly you did run newaliases and it succeeded?

At this point I'd be checking MAILPREFIX and ADMINMAILPREFIX in
racnid.conf, then looking at my MTA logs to see what it's doing with
rancid mail. These things are usually MTA problems, not rancid problems.

Alan McKinnon
alan.mckinnon at gmail.com

More information about the Rancid-discuss mailing list