Re: sendmail: no local mailer

From: Nate Williams <nate_at_yogotech.com>
Date: Wed, 2 Apr 2003 10:26:03 -0700
> evantd> Sendmail has not been working on my system for some time now. I
> evantd> can't say exactly how long, but my guess is that it broke when I
> evantd> upgraded to RELENG_5_0. This is how sendmail is invoked (by
> evantd> default) and it's output.
> 
> evantd> # sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
> evantd> 451 4.0.0 No local mailer defined: Bad address
> evantd> 554 5.0.0 QueueDirectory (Q) option must be set
> 
> /etc/mail/sendmail.cf is a bogus (empty?) file.  One way to fix this is:
> 
> cd /etc/mail
> mv sendmail.cf sendmail.cf~bogus
> make
> make restart

This happened on one of my -stable boxes lately when doing a upgrade
using buildworld.  For some (unknown) reason m4 bombed out and created
an empty .cf file.

I fixed it by doing something similar to what was done above, although
why m4 failed is a mystery....



Nate
Received on Wed Apr 02 2003 - 07:26:07 UTC

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