Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 13:24:19 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
To:        freebsd-stable@freebsd.org
Subject:   FreeBSD 8.4-stable: sendmail bug?
Message-ID:  <20140926132419.4493c61662cdf7ba8893abbc@getmail.no>

next in thread | raw e-mail | index | archive | help
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@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@kg-vm2:/usr/obj/usr/src/sys/GENERIC  amd64

After the upgrade, sendmail doesn't want to send mail, resulting in this:
root@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@kg-vm2.kg4.no>
s8Q56o6X075503     3645 Fri Sep 26 07:06 MAILER-DAEMON
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root@kg-vm2.kg4.no>
s8Q113MU075044      290 Fri Sep 26 03:01 <root@kg-vm2.kg4.no>
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root@kg-vm2.kg4.no>
s8Q1146V075078     1960 Fri Sep 26 03:01 <root@kg-vm2.kg4.no>
                 (Deferred: Connection refused by kg-vm2.kg4.no.)
					 <root@kg-vm2.kg4.no>
		Total requests: 4
the funny thing is this:
root@kg-vm2# sendmail -q -v                                                                                          
Running /var/spool/mqueue/s8Q56o6W075503 (sequence 1 of 4)
<root@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@kg-vm2.kg4.no>... Sent

Running /var/spool/mqueue/s8Q56o6X075503 (sequence 2 of 4)
>>> RSET
250 2.0.0 Ok
<root@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@kg-vm2.kg4.no>... Sent

Running /var/spool/mqueue/s8Q113MU075044 (sequence 3 of 4)
>>> RSET
250 2.0.0 Ok
<root@kg-vm2.kg4.no>... Using cached LMTP connection for local...
>>> MAIL From:<root@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@kg-vm2.kg4.no>... Sent

Running /var/spool/mqueue/s8Q1146V075078 (sequence 4 of 4)
>>> RSET
250 2.0.0 Ok
<root@kg-vm2.kg4.no>... Using cached LMTP connection for local...
>>> MAIL From:<root@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@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@kg-vm2# pgrep -lf sendmail
517 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue
514 sendmail: accepting connections

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140926132419.4493c61662cdf7ba8893abbc>