sendmail: no local mailer
Terry Lambert
tlambert2 at mindspring.com
Wed Apr 2 14:00:55 PST 2003
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
More information about the freebsd-current
mailing list