Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 23:57:54 +0300
From:      "Oleg V. Nauman" <oleg@reis.zp.ua>
To:        Nate Williams <nate@yogotech.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sendmail: no local mailer
Message-ID:  <20030402205754.GF75212@core.zp.ua>
In-Reply-To: <16011.7467.322808.498405@emerger.yogotech.com>
References:  <F132syzrKULj1cdY4Qh0003e02d@hotmail.com> <16011.4537.279737.406477@horsey.gshapiro.net> <16011.7467.322808.498405@emerger.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 02, 2003 at 10:26:03AM -0700, Nate Williams wrote:
> > 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....

	Some patch:

--- /usr/src/etc/sendmail/Makefile.orig Wed Apr  2 23:51:19 2003
+++ /usr/src/etc/sendmail/Makefile Wed Apr  2 23:51:50 2003
@@ -1,7 +1,7 @@
 # @(#)Makefile 8.19 (Berkeley) 1/14/97
 # $FreeBSD: src/etc/sendmail/Makefile,v 1.21 2002/07/29 09:40:06 ru Exp $

-M4=          m4
+M4=          /usr/bin/m4
 CHMOD=       chmod
 ROMODE=        444
 RM=          rm -f

> 
> 
> 
> Nate
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

-- 
NO37-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030402205754.GF75212>