Re: sendmail: no local mailer

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Wed, 02 Apr 2003 13:59:28 -0800
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:/|_at_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
Received on Wed Apr 02 2003 - 12:00:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC