Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Giorgos Keramidas
On Tue, 26 May 2009 19:01:46 +0200 (CEST), Wojciech Puchar 
 wrote:
>> here it is:
>>
>> divert(0)dnl
>> VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1
>> 2003/10/19 00:03:13 gshapiro Exp $')
>> define(`confCF_VERSION', `Submit')dnl
>> define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
>> define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
>> define(`confTIME_ZONE', `USE_TZ')dnl
>> define(`confDONT_INIT_GROUPS', `True')dnl
>> define(`confBIND_OPTS', `WorkAroundBroken')dnl
>> dnl
>> dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
>> FEATURE(`msp', `[127.0.0.1]')dnl
>   6
> this line i wanted to check if it listens. looks fine, while your
> messages suggested that it's not.
>
> so no more idea, you talked about that you upgraded things, maybe rm
> *.cf;make;make install;/etc/rc.d/sendmail restart?
>
> but actually i don't have more ideas.

Just a wild guess, but looking at the log message it seems like there
was some sort of timing problem with the startup of spamassassin and/or
the local mailer:

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=<... relay=local, 
dsn=4.4.2, stat=Deferred: Connection reset by local
May 26 17:40:47 jupiter spamd[4853]: prefork: child states: II

Maybe Sendmail started trying to feed messages through spamassassin
before it had a chance to launch?

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

Thank you Wojciech and Tim.

Could not yet find the solution, but at least I got sendmail
back delivering mail by reinstalling security/cyrus-sasl2

Don't know why nor how, but obviously there is some
configuration left around that makes sendmail try to
use some of sasl..

When I find the solution, I'll post it here.

Best regards.
Robi


Roberto Nunnari ha scritto:

Wojciech Puchar ha scritto:

here it is:

divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 
2003/10/19 00:03:13 gshapiro Exp $')

define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl

  6
this line i wanted to check if it listens. looks fine, while your 
messages suggested that it's not.


so no more idea, you talked about that you upgraded things, maybe rm 
*.cf;make;make install;/etc/rc.d/sendmail restart


I did that.. but it doesn't help.. I also recompiled again sendmail from 
source.. but didn't help neighter..



?

but actually i don't have more ideas.


I also don't know what else to look for.. any more hints anybody?

Robi

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

Wojciech Puchar ha scritto:

here it is:

divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 
2003/10/19 00:03:13 gshapiro Exp $')

define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl

  6
this line i wanted to check if it listens. looks fine, while your 
messages suggested that it's not.


so no more idea, you talked about that you upgraded things, maybe rm 
*.cf;make;make install;/etc/rc.d/sendmail restart


I did that.. but it doesn't help.. I also recompiled again sendmail from 
source.. but didn't help neighter..



?

but actually i don't have more ideas.


I also don't know what else to look for.. any more hints anybody?

Robi

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

Tim Kellers ha scritto:

 From /usr/local/share/doc/cyrus-sasl2/Sendmail.README:

"5) Add the following before FEATURE(msp) in your submit.mc file:

  DAEMON_OPTIONS(`Name=NoMTA, Addr=127.0.0.1, M=EA')dnl

  This disables SMTP AUTH on the loopback interface."

Did you take that line out of your submit.mc file?


Hi never had that line..

Any more hints?




Tim


Roberto Nunnari wrote:

Wojciech Puchar ha scritto:


ps ax|grep sendmail


# ps ax|grep sendmail
12313  ??  Ss 0:00.04 sendmail: accepting connections (sendmail)
12314  ??  S  0:02.34 sendmail: ./n4QG4DDt012314 
mx1.eu.apache.org.: client DATA 354 (sendmail)
12315  ??  Is 0:00.00 sendmail: Queue run...@00:30:00 for 
/var/spool/clientmqueue (sendmail)


this looks fine.

now show me your /etc/mail/`hostname`*.mc

here it is:

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 
21:15:09 gshapiro Exp $')

OSTYPE(freebsd6)
DOMAIN(generic)

dnl FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to 
sending server misconfiguration - see 
http://www.ordb.org/faq/\#why_rejected";')dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `"550 Mail from " 
$`'&{client_addr} " refused - see http://www.spamhaus.org/sbl/";')
FEATURE(`dnsbl', `list.dsbl.org', `"550 Mail from " $`'&{client_addr} 
" refused - see http://dsbl.org/";')
FEATURE(`dnsbl', `bl.spamcop.net', `"450 Mail from " $`'&{client_addr} 
" refused - see http://spamcop.net/bl.shtml";')


FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable')
dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

INPUT_MAIL_FILTER(`spamassassin', 
`S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')dnl


define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

___
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"



--
Roberto Nunnari
Servizi Informatici SUPSI-DTI
SUPSI-DTI - Via Cantonale - 6928 Manno - Switzerland
email: mailto:roberto.nunn...@supsi.ch
tel: +41-58-561

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Wojciech Puchar

here it is:

divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 
00:03:13 gshapiro Exp $')

define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl

  6
this line i wanted to check if it listens. looks fine, while your 
messages suggested that it's not.


so no more idea, you talked about that you upgraded things, maybe rm 
*.cf;make;make install;/etc/rc.d/sendmail restart

?

but actually i don't have more ideas.
___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Tim Kellers

From /usr/local/share/doc/cyrus-sasl2/Sendmail.README:

"5) Add the following before FEATURE(msp) in your submit.mc file:

  DAEMON_OPTIONS(`Name=NoMTA, Addr=127.0.0.1, M=EA')dnl

  This disables SMTP AUTH on the loopback interface."

Did you take that line out of your submit.mc file?

Tim


Roberto Nunnari wrote:

Wojciech Puchar ha scritto:


ps ax|grep sendmail


# ps ax|grep sendmail
12313  ??  Ss 0:00.04 sendmail: accepting connections (sendmail)
12314  ??  S  0:02.34 sendmail: ./n4QG4DDt012314 
mx1.eu.apache.org.: client DATA 354 (sendmail)
12315  ??  Is 0:00.00 sendmail: Queue run...@00:30:00 for 
/var/spool/clientmqueue (sendmail)


this looks fine.

now show me your /etc/mail/`hostname`*.mc

here it is:

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 
21:15:09 gshapiro Exp $')

OSTYPE(freebsd6)
DOMAIN(generic)

dnl FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to 
sending server misconfiguration - see 
http://www.ordb.org/faq/\#why_rejected";')dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `"550 Mail from " 
$`'&{client_addr} " refused - see http://www.spamhaus.org/sbl/";')
FEATURE(`dnsbl', `list.dsbl.org', `"550 Mail from " $`'&{client_addr} 
" refused - see http://dsbl.org/";')
FEATURE(`dnsbl', `bl.spamcop.net', `"450 Mail from " $`'&{client_addr} 
" refused - see http://spamcop.net/bl.shtml";')


FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable')
dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

INPUT_MAIL_FILTER(`spamassassin', 
`S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')dnl


define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

Wojciech Puchar ha scritto:


now show me your /etc/mail/`hostname`*.mc

here it is:


it's `hostname`.mc looks OK but how about `hostname`.submit.mc



here it is:

divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 
00:03:13 gshapiro Exp $')

define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Wojciech Puchar


now show me your /etc/mail/`hostname`*.mc

here it is:


it's `hostname`.mc looks OK but how about `hostname`.submit.mc

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Tim Kellers
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=, 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-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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

Wojciech Puchar ha scritto:


ps ax|grep sendmail


# ps ax|grep sendmail
12313  ??  Ss 0:00.04 sendmail: accepting connections (sendmail)
12314  ??  S  0:02.34 sendmail: ./n4QG4DDt012314 
mx1.eu.apache.org.: client DATA 354 (sendmail)
12315  ??  Is 0:00.00 sendmail: Queue run...@00:30:00 for 
/var/spool/clientmqueue (sendmail)


this looks fine.

now show me your /etc/mail/`hostname`*.mc

here it is:

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 
21:15:09 gshapiro Exp $')

OSTYPE(freebsd6)
DOMAIN(generic)

dnl FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to 
sending server misconfiguration - see 
http://www.ordb.org/faq/\#why_rejected";')dnl
FEATURE(`dnsbl', `sbl.spamhaus.org', `"550 Mail from " $`'&{client_addr} 
" refused - see http://www.spamhaus.org/sbl/";')
FEATURE(`dnsbl', `list.dsbl.org', `"550 Mail from " $`'&{client_addr} " 
refused - see http://dsbl.org/";')
FEATURE(`dnsbl', `bl.spamcop.net', `"450 Mail from " $`'&{client_addr} " 
refused - see http://spamcop.net/bl.shtml";')


FEATURE(access_db, `hash -o -T /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable')
dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
{if_addr}')dnl


define(`confCW_FILE', `-o /etc/mail/local-host-names')

dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Wojciech Puchar


ps ax|grep sendmail


# ps ax|grep sendmail
12313  ??  Ss 0:00.04 sendmail: accepting connections (sendmail)
12314  ??  S  0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: 
client DATA 354 (sendmail)
12315  ??  Is 0:00.00 sendmail: Queue run...@00:30:00 for 
/var/spool/clientmqueue (sendmail)


this looks fine.

now show me your /etc/mail/`hostname`*.mc

___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

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-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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

Hi Wojciech.
Thank you.
See my answer in context.


Wojciech Puchar ha scritto:
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

please do

ps ax|grep sendmail


# ps ax|grep sendmail
12313  ??  Ss 0:00.04 sendmail: accepting connections (sendmail)
12314  ??  S  0:02.34 sendmail: ./n4QG4DDt012314 mx1.eu.apache.org.: 
client DATA 354 (sendmail)
12315  ??  Is 0:00.00 sendmail: Queue run...@00:30:00 for 
/var/spool/clientmqueue (sendmail)

12765  p1  S+ 0:00.01 grep sendmail







___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Wojciech Puchar
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

please do

ps ax|grep sendmail


___
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"


Re: sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari
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-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"


sendmail: stat=Deferred: Connection reset by local

2009-05-26 Thread Roberto Nunnari

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-unsubscr...@freebsd.org"