sendmail: stat=Deferred: Connection reset by local
Roberto Nunnari
roberto.nunnari at supsi.ch
Tue May 26 14:52:58 UTC 2009
Hi people.
Please help!
This morning I decided to go back to plain smtp without
authentication that I had enabled about one year ago
following the instructions in the handbook.
Now sendmail doesn't deliver any more local mail.
Here's part of a line from /var/log/maillog
stat=Deferred: Connection reset by local
and
# sendmail -bp
...
n4Q8Wf2u075903 1254 Tue May 26 10:32 <auser at host1.com>
(reply: read error from local)
<anotheruser at host2.com>
Total requests: 118
So here's what I've done this morning:
# /usr/local/etc/rc.d/saslauthd stop
edit /etc/rc.conf to remove the following line:
saslauthd_enable="YES"
edit /etc/make.conf and remove the following lines:
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# cd /usr/ports/security/cyrus-sasl2-saslauthd
# make deinstall
# cd /usr/ports/security/cyrus-sasl2
# make deinstall
# pw userdel cyrus
# cd /usr/src/lib/libsmutil
# make cleandir && make obj && make
# cd /usr/src/lib/libsm
# make cleandir && make obj && make
# cd /usr/src/usr.sbin/sendmail
# make cleandir && make obj && make && make install
# cd /etc/mail
edit /etc/mail/myhost.mydomain.mc
Remove these lines from it:
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
# make
# make install restart
Thank you!
More information about the freebsd-questions
mailing list