Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 05:19:26 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "Oleg V. Nauman" <oleg@reis.zp.ua>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sendmail: no local mailer
Message-ID:  <20030404021926.GA18960@gothmog.gr>
In-Reply-To: <20030403190503.GC82393@core.zp.ua>
References:  <F132syzrKULj1cdY4Qh0003e02d@hotmail.com> <16011.4537.279737.406477@horsey.gshapiro.net> <16011.7467.322808.498405@emerger.yogotech.com> <20030402205754.GF75212@core.zp.ua> <16011.25002.138504.661813@emerger.yogotech.com> <20030403190503.GC82393@core.zp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-04-03 22:05, "Oleg V. Nauman" <oleg@reis.zp.ua> wrote:
>On Wed, Apr 02, 2003 at 03:18:18PM -0700, Nate Williams wrote:
>>>> 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
>>
>> This shouldn't be necessary, since m4 is in the path in buildworld, is
>
> 	installworld, you meant?

Actually no.  One of the last things done during buildworld is (wrapped
to fit under 80 columns):

: ===> etc/sendmail
: rm -f freebsd.cf
: (cd /usr/src/etc/sendmail &&  \
:   m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/  \
:   /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) \
:   > freebsd.cf
: chmod 444 freebsd.cf
: rm -f /etc/mail/gothmog.cf
: (cd /usr/src/etc/sendmail &&  \
:   m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/   \
:   /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 \
:   /etc/mail/gothmog.mc) > /etc/mail/gothmog.cf
: chmod 444 /etc/mail/gothmog.cf
: rm -f /etc/mail/gothmog.submit.cf
: (cd /usr/src/etc/sendmail &&  \
:   m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/   \
:   /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 \
:   /etc/mail/gothmog.submit.mc) > /etc/mail/gothmog.submit.cf
: chmod 444 /etc/mail/gothmog.submit.cf



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