From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 23:59:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBD521065672 for ; Sun, 17 Aug 2008 23:59:25 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 247A78FC17 for ; Sun, 17 Aug 2008 23:59:25 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m7HNxGjR008662; Sun, 17 Aug 2008 18:59:16 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080817184557.0259b010@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 17 Aug 2008 18:59:12 -0500 To: "Tom Stuart" From: Derek Ragona In-Reply-To: <5cdef660808151749n722a5b92ufcf85e59b1e0b4b@mail.gmail.com> References: <5cdef660808151349j462df140pcec0d76109ac17b3@mail.gmail.com> <6.0.0.22.2.20080815192128.024bf890@mail.computinginnovations.com> <5cdef660808151749n722a5b92ufcf85e59b1e0b4b@mail.gmail.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080817-0, 08/17/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93.3/8051/Fri Aug 15 22:44:59 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m7HNxGjR008662 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: {Disarmed} Re: {Spam?} {Disarmed} Re: Sendmail email delays X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2008 23:59:25 -0000 At 07:49 PM 8/15/2008, Tom Stuart wrote: >I have tried doing the forwarding via /etc/mail/aliases and it worked >identically as it was with the /root/.forward. The mail does go through >but gets delayed 5+ minutes, however when I send mail interactively using >mailx or mail commands the receiving mailserver receives the message instantly. > >I'd also like to add that if I restart sendmail via /etc/rc.d/sendmail >restart the mail gets instantly received also...Thanks for the help thus far Check your sendmail options in /etc/rc.conf and if you don't have any there, check the defaults. Usually you are running two versions of sendmail. Check the sendmail flags you are using for something like -q5m. If you see this, try changing the value and see if that effects your delivery time. -Derek >On Fri, Aug 15, 2008 at 6:22 PM, Derek Ragona ><derek@computinginnovations.com> wrote: >>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[72747]: m7FKZCXf072747: from=username, >>>size=155, class=0, nrcpts=1, msgid=< >>>200808152035.m7FKZCXf072747@firewall-1.xxx.com>, >>>relay=root@l >>>ocalhost >>>Aug 15 14:35:12 firewall-1 sendmail[72747]: m7FKZCXf072747: to=root, >>>delay=00:00:00, mailer=relay, pri=30155, stat=queued >>>Aug 15 14:43:18 firewall-1 sendmail[72762]: m7FKhHx8072762: from=username, >>>size=0, class=0, nrcpts=0, relay=root@localhost >>>Aug 15 14:46:03 firewall-1 sm-mta[72794]: m7FKk3wc072794: from=< >>>username@firewall-1.xxx.com>, >>>size=512, class=0, nrcpts=1, msgid=< >>>200808152035.m7FKZCXf072747@firewall-1.xxx.com>, >>>proto=ESMTP, >>>daemon=Daemon0, relay=localhost [MailScanner warning: >>>numerical links are often malicious: 127.0.0.1] >>>Aug 15 14:46:03 firewall-1 sm-msp-queue[72793]: m7FKZCXf072747: to=root, >>>ctladdr=username (1001/1001), delay=00:10:51, xdelay=00:00:00, mailer=relay, >>>pri=120155, relay=[MailScanner warning: numerical >>>links are often malicious: 127.0.0.1 >>>] [MailScanner warning: numerical links are often >>>malicious: 127.0.0.1], dsn=2.0.0, stat=Sent >>>(m7FKk3wc072794 Message accepted for >>>delivery) >>>Aug 15 14:46:03 firewall-1 sm-mta[72795]: m7FKk3wc072794: to= >>>username@xxx.com, >>>ctladdr=<username@firewall-1.xxx.com> >>> (1001/1001), >>>delay=00:00:00, xdelay=00:0 >>>0:00, mailer=relay, pri=30809, relay=smtp.xxx.com. >>>[MailScanner warning: numerical links are often >>>malicious: 10.0.0.2], dsn=2.0.0, >>>stat=Sent ( >>><200808152035.m7FKZCXf072747@firewall-1.xxx.com> >>>Queued mail for >>>delivery) >>> >>> >>>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@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@xxx.comwhich is to be sent via smarthost. >>> >>> >>>I have the smarthost "DS" parameter in >>>/etc/mail/sendmail.cf configured to >>>use DSsmtp.xxx.com >>> >>>/etc/hosts contains >>>localhost MailScanner warning: numerical >>>links are often malicious: 127.0.0.1 firewall-1 >>>firewall-1.xxx.com >>>smtp.xxx.com MailScanner >>>warning: numerical links are often malicious: 10.0.0.2 >> >>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. >> >> -Derek >> >>-- >>This message has been scanned for viruses and >>dangerous content by MailScanner, and is >>believed to be clean. > > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.