Was sendmail compiled with SASL? Do you have anything in /etc/mail/mailer.conf?

Roberto Nunnari wrote:
for completeness, the last lines of maillog if I send a mail from root to a local account (robi):

May 26 17:40:46 jupiter sendmail[10730]: n4QFeh7V010730: to=robi, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=30032, r=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n4QFeh2X010731 Message accepted for delivery) May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: smtpquit: mailer local exited with exit value 1 May 26 17:40:46 jupiter sm-mta[10733]: n4QFeh2X010731: to=<r...@mymail.host>, ctladdr=<r...@mymail.host> (0/0), delay=00:00:03,lay=00:00:00, mailer=local, pri=30862, relay=local, dsn=4.4.2, stat=Deferred: Connection reset by local
May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II

Please help!
Thank you!
Robi


Roberto Nunnari ha scritto:
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 <au...@host1.com>
                 (reply: read error from local)
                                         <anotheru...@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!

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to