Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 15:52:52 +0200
From:      Roberto Nunnari <roberto.nunnari@supsi.ch>
To:        freebsd-questions@freebsd.org
Subject:   sendmail: stat=Deferred: Connection reset by local
Message-ID:  <4A1BF434.7070201@supsi.ch>

next in thread | raw e-mail | index | archive | help
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@host1.com>
                  (reply: read error from local)
                                          <anotheruser@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!




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