FreeBSD 8.4-stable: sendmail bug?

Torfinn Ingolfsen torfinn.ingolfsen at getmail.no
Fri Sep 26 11:34:22 UTC 2014


Hello,
One of my machines recently got updaged to FreeBSD 8.4-stable (using first freebsd-update, then svn + make world. The normal update procedure was run, including mergemaster.
It currently runs:
root at kg-vm2# uname -a
FreeBSD kg-vm2.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #0 r270837: Sat Aug 30 13:25:23 CEST 2014
     root at kg-vm2:/usr/obj/usr/src/sys/GENERIC  amd64

After the upgrade, sendmail doesn't want to send mail, resulting in this:
root at kg-vm2# mailq
		/var/spool/mqueue (4 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
s8Q56o6W075503     1978 Fri Sep 26 07:06 MAILER-DAEMON
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root at kg-vm2.kg4.no>
s8Q56o6X075503     3645 Fri Sep 26 07:06 MAILER-DAEMON
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root at kg-vm2.kg4.no>
s8Q113MU075044      290 Fri Sep 26 03:01 <root at kg-vm2.kg4.no>
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root at kg-vm2.kg4.no>
s8Q1146V075078     1960 Fri Sep 26 03:01 <root at kg-vm2.kg4.no>
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root at kg-vm2.kg4.no>
		Total requests: 4
the funny thing is this:
root at kg-vm2# sendmail -q -v                                                                                          
Running /var/spool/mqueue/s8Q56o6W075503 (sequence 1 of 4)
<root at kg-vm2.kg4.no>... Connecting to local...
220 kg-vm2.kg4.no LMTP ready
>>> LHLO kg-vm2.kg4.no
250-kg-vm2.kg4.no
250-8BITMIME
250-ENHANCEDSTATUSCODES
250 PIPELINING
>>> MAIL From:<>
250 2.5.0 Ok
>>> RCPT To:<root>
>>> DATA
250 2.1.5 Ok
354 Go ahead
>>> .
250 2.1.5 root Ok
<root at kg-vm2.kg4.no>... Sent

Running /var/spool/mqueue/s8Q56o6X075503 (sequence 2 of 4)
>>> RSET
250 2.0.0 Ok
<root at kg-vm2.kg4.no>... Using cached LMTP connection for local...
>>> MAIL From:<>
250 2.5.0 Ok
>>> RCPT To:<root>
>>> DATA
250 2.1.5 Ok
354 Go ahead
>>> .
250 2.1.5 root Ok
<root at kg-vm2.kg4.no>... Sent

Running /var/spool/mqueue/s8Q113MU075044 (sequence 3 of 4)
>>> RSET
250 2.0.0 Ok
<root at kg-vm2.kg4.no>... Using cached LMTP connection for local...
>>> MAIL From:<root at kg-vm2.kg4.no>
250 2.5.0 Ok
>>> RCPT To:<root>
>>> DATA
250 2.1.5 Ok
354 Go ahead
>>> .
250 2.1.5 root Ok
<root at kg-vm2.kg4.no>... Sent

Running /var/spool/mqueue/s8Q1146V075078 (sequence 4 of 4)
>>> RSET
250 2.0.0 Ok
<root at kg-vm2.kg4.no>... Using cached LMTP connection for local...
>>> MAIL From:<root at kg-vm2.kg4.no>
250 2.5.0 Ok
>>> RCPT To:<root>
>>> DATA
250 2.1.5 Ok
354 Go ahead
>>> .
250 2.1.5 root Ok
<root at kg-vm2.kg4.no>... Sent
Closing connection to local
>>> QUIT
221 2.0.0 Bye
you have mail

As far as I can tell, the necessary config files (including those in /etc/mail) are present and correct.
It looks to me like the correct sendmail processes are running too:
root at kg-vm2# pgrep -lf sendmail
517 sendmail: Queue runner at 00:30:00 for /var/spool/clientmqueue
514 sendmail: accepting connections

What am I missing?
-- 
Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no>


More information about the freebsd-stable mailing list