Date: Mon, 10 Mar 2003 20:34:49 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: IAccounts <iaccounts@northnetworks.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail config file Message-ID: <20030310183449.GA4683@gothmog.gr> In-Reply-To: <20030310123541.W31451-100000@diana.northnetworks.ca> References: <20030310172000.GA1461@gothmog.gr> <20030310123541.W31451-100000@diana.northnetworks.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-03-10 12:45, IAccounts <iaccounts@northnetworks.ca> wrote:
> > > > > # install -c -m freebsd.cf /etc/mail/sendmail.cf
> > > > > Install: Invalid file mode: freebsd.cf
> > > > > Has anyone else experienced this during their sendmail upgrade?
> > > >
> > > > Does the file /usr/share/mk/bsd.own.mk exist?
> > > >
> > > > If yes, does it contain a definition of SHAREMODE?
> > > >
> > > > % grep SHAREMODE /usr/share/mk/bsd.own.mk
> > > > # SHAREMODE ASCII text file mode. [${NOBINMODE}]
> > > > SHAREMODE?= ${NOBINMODE}
> > >
> > > It certainly does. The entry is laid out exactly as you have it above.
> > > The Makefile appears to be a binary, for reasons unknown to me, but that
> > > is besides the point. Can I just copy a new makefile over from a different
> > > box, or am I headed in the wrong direction with this?
> >
> > Have you upgraded recently? Did you run mergemaster after installworld?
> >
> > What is the output of the following command?
> >
> > $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile
>
> Sorry, the output is 'Binary files differ'. The /etc/mail Makefile is
> binary, the former is not.
>
> The copy of the new Makefile did not work, It states that it 'Do not know
> how to make freebsd.submit.cf'. By driving through mergemaster, I can see
> that I will destroy what is working of sendmail :o)
>
> Is there any reason that I can't stay with the old config files? I can't
> afford to break sendmail at this time. If it is not a security risk to
> remain with old config files against the newest binary, I will just leave
> it sit for now until I can dig up more info.
It depends on what the old version of Sendmail was. What do you get
when you telnet to port 25?
: giorgos@gothmog[20:33]/home/giorgos$ telnet 0 25
: Trying 0.0.0.0...
: Connected to 0.
: Escape character is '^]'.
: 220 gothmog.gr ESMTP Sendmail 8.12.8/8.12.8; Mon, 10 Mar 2003 20:33:46 +0200 (EET)
: quit
: 221 2.0.0 gothmog.gr closing connection
: Connection closed by foreign host.
: giorgos@gothmog[20:33]/home/giorgos$
The two version numbers after "ESMTP Sendmail" above are, in order,
the version of the Sendmail executable and the version of the
sendmail.cf file.
- Giorgos
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030310183449.GA4683>
