From owner-freebsd-questions@FreeBSD.ORG Tue May 26 16:16:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 472F610656C4 for ; Tue, 26 May 2009 16:16:49 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) Received: from ti-edu.ch (posta.ti-edu.ch [195.176.176.171]) by mx1.freebsd.org (Postfix) with ESMTP id A58468FC15 for ; Tue, 26 May 2009 16:16:47 +0000 (UTC) (envelope-from roberto.nunnari@supsi.ch) X-Virus-Scanned: by cgpav Received: from [193.5.152.27] (HELO [127.0.0.1]) by ti-edu.ch (CommuniGate Pro SMTP 5.2.12) with ESMTP id 32729409; Tue, 26 May 2009 18:16:46 +0200 Message-ID: <4A1C15EE.6080308@supsi.ch> Date: Tue, 26 May 2009 18:16:46 +0200 From: Roberto Nunnari User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Tim Kellers References: <4A1BF434.7070201@supsi.ch> <4A1C0F81.1030402@supsi.ch> <4A1C1315.6080308@wallnet.com> In-Reply-To: <4A1C1315.6080308@wallnet.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: sendmail: stat=Deferred: Connection reset by local X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 16:16:49 -0000 Hi Tim. Thank you for your time. Tim Kellers ha scritto: > Was sendmail compiled with SASL? Do you have anything in I can I find it out? Here's my /etc/make.conf # cat /etc/make.conf CFLAGS= -O -pipe NO_PROFILE=1 # no X, solo alfanumerico WITHOUT_X11=yes NO_X11=yes # come richiesto dal sistema di ports.. X11BASE=${LOCALBASE} # per compilare ports che dipendono su apache e mod_perl WITH_MODPERL2=1 WITH_APACHE2=1 # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # End portconf settings # added by use.perl 2009-03-27 16:19:32 PERL_VERSION=5.8.9 > /etc/mail/mailer.conf? # cat /etc/mail/mailer.conf # $FreeBSD: src/etc/mail/mailer.conf,v 1.3 2002/04/05 04:25:12 gshapiro Exp $ # # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail # sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat /usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail > > 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=, ctladdr= (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 >>> (reply: read error from local) >>> >>> 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-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> >