Subject: Re: new sendmail spooling and dns
To: Thomas Miller <>
From: Andrew Brown <>
List: current-users
Date: 03/31/2003 10:19:49
>I noticed that there was a change in the headers of the daily output
>and the daily insecurity output messages in root's mailbox.  This 
>change happened when I rebuilt -current and installed the new sendmail.  
>Maybe this change will give somebody the information needed to clue 
>me in on why I am getting DNS timeout warning messages from the 
>mailer daemon respecting the messages that new sendmail can't seem to 
>move out of /var/spool/clientmqueue.  

you're getting the dns timeout because you're off-line.  when you're
off-line, sendmail can't look up (or verify) the existence of the
address to which (or from which) you are sending the mail, so it stays
in the client queue.  when you go back on-line, then the dns lookups
can work again, so the queue can be flushed.

this is perfectly normal behavior.

>Here are the headers from before the upgrade:
>>From daemon Sat Mar 29 03:17:03 2003
>Return-Path: <root>
>Received: (from root@localhost)
>	by (8.11.6/8.11.6) id h2T8F0b05932;
>	Sat, 29 Mar 2003 03:15:00 -0500 (EST)
>Date: Sat, 29 Mar 2003 03:15:00 -0500 (EST)
>From: Charlie Root <root>
>Message-Id: <>
>To: root
>Subject: daily output for Sat Mar 29 03:15:00 EST 2003
>Status: OR

when you were using 8.11.6, the binary was suid root and used one
queue for all mail.

>Here are the headers after the upgrade:
>>From Sun Mar 30 03:17:04 2003
>Return-Path: <>
>Received: from (localhost [])
>	by (8.12.8/8.12.8) with ESMTP id h2U8H41R002829
>	for <>; Sun, 30 Mar 2003 03:17:04 -0500 (EST)
>Received: (from root@localhost)
>	by (8.12.8/8.12.8/Submit) id h2U8F0HU000663;
>	Sun, 30 Mar 2003 03:15:00 -0500 (EST)
>Date: Sun, 30 Mar 2003 03:15:00 -0500 (EST)
>From: Charlie Root <>
>Message-Id: <>
>Subject: daily output for Sun Mar 30 03:15:00 EST 2003
>Status: OR
>Any clues?

now that you're using 8.12.8, the binary is sgid to the smmsp group,
and uses two queues: one for local collection and one for everything
else (into which the locally collected mail is moved by way of smtp
between the process you ultimately started and the smtp daemon
actually running as root).

so you have two "received:" headers because two sendmail processes
handled the mail.  note that the first one (the bottom-most one in
your sample above) says "8.12.8/8.12.8/Submit" and the other does not.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."