Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2003 13:59:28 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Evan Dower <evantd@hotmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sendmail: no local mailer
Message-ID:  <3E8B5D40.56C256D9@mindspring.com>
References:  <F132syzrKULj1cdY4Qh0003e02d@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Note: This should have been posted to -questions, not -current.


Evan Dower wrote:
> Sendmail has not been working on my system for some time now. I can't say
> exactly how long, but my guess is that it broke when I upgraded to
> RELENG_5_0. This is how sendmail is invoked (by default) and it's output.
> 
> # sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
> 451 4.0.0 No local mailer defined: Bad address

You are missing a local mailer.  A local mailer is defined by a line
similar to:

Mlocal,         P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXfmnz9, S=EnvFromSMT
P/HdrFromL, R=EnvToL/HdrToL,
                T=DNS/RFC822/SMTP,
                A=mail.local -l

in /etc/mail/sendmail.cf.

Probably, you updated and failed to rebuild and install the sendmail
configuration files located in /etc/mail/.


> 554 5.0.0 QueueDirectory (Q) option must be set

You are missing a line similar to:

# queue directory
O QueueDirectory=/var/spool/mqueue

in /etc/mail/sendmail.cf.  Probably this has the same root cause.


> The same thing happens if I change "localhost" to "127.0.0.1". I
> suspect that the second error (554) will disappear when I get rid
> of the first one (451). Does anyone know why it might be misbehaving
> like this?

Pilot error.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8B5D40.56C256D9>