[rancid] Re: Weird email problem

David Luyer david+rancid at luyer.net
Fri Jan 18 06:09:14 UTC 2008


It says mailer=local on that line, and the other line was sending
to 127.0.0.1 - presumably the MSA to MTA handoff.

Is this maillog from your mail server or your rancid server?
Or is rancid running on your mail server?

It seems possible that you've configured your rancid server to
think it is a final mail server for your domain, so your email
is ending up in /var/spool/mail/$USER on the rancid server, when
it should be being sent off to a different server.

David.



> 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