Sendmail email delays
derek at computinginnovations.com
Sat Aug 16 00:22:57 UTC 2008
At 03:49 PM 8/15/2008, Tom Stuart wrote:
>I've been having trouble sending email that was sent via a process(swatch).
>I can send emails fine via command-line and receive immediately to the
>forwarded address. However when sent via swatch it can take 5-10 minutes.
>These entries appear in /var/log/mailllog. Note this is all relating to the
>same email and notice the 11 minute delay. Thanks in advance for any help.
>Aug 15 14:35:12 firewall-1 sendmail: m7FKZCXf072747: from=username,
>size=155, class=0, nrcpts=1, msgid=<
>200808152035.m7FKZCXf072747 at firewall-1.xxx.com>, relay=root at l
>Aug 15 14:35:12 firewall-1 sendmail: m7FKZCXf072747: to=root,
>delay=00:00:00, mailer=relay, pri=30155, stat=queued
>Aug 15 14:43:18 firewall-1 sendmail: m7FKhHx8072762: from=username,
>size=0, class=0, nrcpts=0, relay=root at localhost
>Aug 15 14:46:03 firewall-1 sm-mta: m7FKk3wc072794: from=<
>username at firewall-1.xxx.com>, size=512, class=0, nrcpts=1, msgid=<
>200808152035.m7FKZCXf072747 at firewall-1.xxx.com>, proto=ESMTP,
>daemon=Daemon0, relay=localhost [127.0.0.1]
>Aug 15 14:46:03 firewall-1 sm-msp-queue: m7FKZCXf072747: to=root,
>ctladdr=username (1001/1001), delay=00:10:51, xdelay=00:00:00, mailer=relay,
>] [127.0.0.1], dsn=2.0.0, stat=Sent (m7FKk3wc072794 Message accepted for
>Aug 15 14:46:03 firewall-1 sm-mta: m7FKk3wc072794: to=
>username at xxx.com, ctladdr=<username at firewall-1.xxx.com> (1001/1001),
>0:00, mailer=relay, pri=30809, relay=smtp.xxx.com. [10.0.0.2], dsn=2.0.0,
>stat=Sent ( <200808152035.m7FKZCXf072747 at firewall-1.xxx.com> Queued mail for
>I think its important to know these details:
>firewall-1# uname -a
>FreeBSD firewall-1.xxx.com 7.0-RC1 FreeBSD 7.0-RC1 #2: Tue Feb 5 07:10:05
>MST 2008 root at firewall-1.xxx:/usr/obj/usr/src/sys/FIREWALL-1 i386
>There is a .forward file in /root to forward root's mail to
>username at xxx.comwhich is to be sent via smarthost.
>I have the smarthost "DS" parameter in /etc/mail/sendmail.cf configured to
>localhost 127.0.0.1 firewall-1 firewall-1.xxx.com
Have you tried changing the alias for root to the forwarded address in
/etc/mail/aliases? You can make the change there and rebuild the aliases file.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the freebsd-questions