[rancid] Re: Weird email problem

Lai Chen Kang laichenkang at gmail.com
Fri Jan 18 03:31:40 UTC 2008


Sorry for this stupid question but how does one "use aliases manually"?

john heasley wrote:
> try using your aliases manually.  the receiving host must be trashing the mail.
> 
> Fri, Jan 18, 2008 at 09:19:14AM +0800, Lai Chen Kang:
>> Hi all
>>
>> I have intentionally made modification to one of my switches. I want 
>> rancid to generate a mail and sent it to me. Below is a snippet from 
>> /var/log/maillog
>>
>> Jan 17 12:00:21 STMGSINMANAGE2 sendmail[8428]: m0H40LbF008428: 
>> from=rancid, size=5978, class=-60, nrcpts=1, 
>> msgid=<200801170400.m0H40LbF008428 at STMGSINMANAGE2.transmarket.com.sg>, 
>> relay=rancid at localhost
>>
>> Jan 17 12:00:21 STMGSINMANAGE2 sendmail[8430]: m0H40L55008430: 
>> from=<rancid at STMGSINMANAGE2.transmarket.com.sg>, size=6286, class=-60, 
>> nrcpts=1, 
>> msgid=<200801170400.m0H40LbF008428 at STMGSINMANAGE2.transmarket.com.sg>, 
>> proto=ESMTP, daemon=MTA, relay=STMGSINMANAGE2.transmarket.com.sg [127.0.0.1]
>>
>> Jan 17 12:00:21 STMGSINMANAGE2 sendmail[8428]: m0H40LbF008428: 
>> to=rancid-switches at transmarket.com.sg, ctladdr=rancid (500/500), 
>> delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=143978, 
>> relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m0H40L55008430 
>> Message accepted for delivery)
>>
>> Jan 17 12:00:21 STMGSINMANAGE2 sendmail[8431]: m0H40L55008430: 
>> to=laichenkang at transmarket.com.sg, 
>> ctladdr=<rancid at STMGSINMANAGE2.transmarket.com.sg> (500/500), 
>> delay=00:00:00, xdelay=00:00:00, mailer=local, pri=144550, dsn=2.0.0, 
>> stat=Sent
>>
>> /etc/aliases
>>
>> rancid-admin-routers:   laichenkang at transmarket.com.sg
>> rancid-routers:         laichenkang at transmarket.com.sg
>> rancid-admin-switches:  laichenkang at transmarket.com.sg
>> rancid-switches:        laichenkang at transmarket.com.sg
>> rancid-admin-firewalls: laichenkang at transmarket.com.sg
>> rancid-firewalls:       laichenkang at transmarket.com.sg
>>
>> Problem is I never got the mail. Even when the last line is stat=Sent.
>>
>> Any ideas?
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list