Re: Sendmail config file

2003-03-10 Thread IAccounts
> > > > > > # 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?

8.12.8/8.11.1

As far as I can tell, there are no vulnerabilities by reusing the old
configs, so I will let you get back to more important things on the list
and play around and research independantly for the time being.

Thanks for everything!

Steve



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 12:51, IAccounts <[EMAIL PROTECTED]> wrote:
> > > > 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
> > >
> > > Yes I just upgraded last week. 4.3->RELENG_4.
> > >
> > > I did do mergemaster, but only on the password file.  I will
> > > copy the latter file to /etc/mail and give it a test.
> > >
> > > Thanks.
> >
> > Nice :)
> >
> > You should really run mergemaster and let it merge all the
> > necessary changes to /etc though.  Not just the password file.
>
> I will play with this on a test box, but not on production. Looks
> like it is trying to merge some lines that I am not overly confident
> will produce successful results.

Fine with me.  I don't know what those diffs you're talking about are,
so I'll have to agree that being cautious to avoid breaking thing is
the best path to take.

:)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 12:45, IAccounts <[EMAIL PROTECTED]> 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?

: [EMAIL PROTECTED]: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.
: [EMAIL PROTECTED]: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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread IAccounts
> > > > > > # 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
> >
> > Yes I just upgraded last week. 4.3->RELENG_4.
> >
> > I did do mergemaster, but only on the password file.
> > I will copy the latter file to /etc/mail and give it a test.
> >
> > Thanks.
>

> Nice :)
>
> You should really run mergemaster and let it merge all the necessary
> changes to /etc though.  Not just the password file.

I will play with this on a test box, but not on production. Looks like it
is trying to merge some lines that I am not overly confident will produce
successful results.

Steve

>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 12:32, IAccounts <[EMAIL PROTECTED]> 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
>
> Yes I just upgraded last week. 4.3->RELENG_4.
>
> I did do mergemaster, but only on the password file.
> I will copy the latter file to /etc/mail and give it a test.
>
> Thanks.

Nice :)

You should really run mergemaster and let it merge all the necessary
changes to /etc though.  Not just the password file.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread IAccounts
> > > > # 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.

Tks.

>
> - Giorgos
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread IAccounts
> > > > # 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?

Yes I just upgraded last week. 4.3->RELENG_4.

I did do mergemaster, but only on the password file.
I will copy the latter file to /etc/mail and give it a test.

Thanks.

>
> What is the output of the following command?
>
>   $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile



>
> - Giorgos
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 09:59, IAccounts <[EMAIL PROTECTED]> 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

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-10 Thread IAccounts
> > # 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?

Tks.


>
> - Giorgos
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-08 Thread Peter Wu
IAccounts <[EMAIL PROTECTED]> writes:

> This same question was asked yesterday (I think), but I accidently deleted
> the thread, and it hasnt hit the archives yet.
>
> I have upgraded from 4.3 to 4.8, and a telnet to sendmail states
> 8.12.8/8.11.3.
>
> Someone had responded on how to upgrade just the .cf to reflect the new
> binary version. Could someone please either post the response, or send it
> to me personally?

As root:

   # cd /etc/mail   
   # make cf
   # make install
   # make restart

Hope this helps.

-- 
Peter Wu
Powered by FreeBSD 4.8-RC

This posting is provided "AS IS" with no warranties, and confers no rights.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-07 Thread Giorgos Keramidas
On 2003-03-07 12:43, IAccounts <[EMAIL PROTECTED]> wrote:
> > # cd /etc/mail
> > # tar cf - *.cf | gzip -9c - > oldcf.tar.gz
> >
> > Then regenerate all the *.cf files:
> >
> > # make cf
> >
> > Install them as sendmail.cf and submit.cf:
> >
> > # make install
> >
>
> At this point it fails with:
>
> # install -c -m freebsd.cf /etc/mail/sendmail.cf
> Install: Invalid file mode: freebsd.cf
>
> I have tried all manner of file permissions, as I am assuming that they
> this is what is referred to by mode.
>
> 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}

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Sendmail config file

2003-03-07 Thread IAccounts
> # cd /etc/mail
> # tar cf - *.cf | gzip -9c - > oldcf.tar.gz
>
> Then regenerate all the *.cf files:
>
> # make cf
>
> Install them as sendmail.cf and submit.cf:
>
> # make install
>

At this point it fails with:

# install -c -m freebsd.cf /etc/mail/sendmail.cf
Install: Invalid file mode: freebsd.cf

I have tried all manner of file permissions, as I am assuming that they
this is what is referred to by mode.

Has anyone else experienced this during their sendmail upgrade?

Steve

> Restart sendmail:
>
> # make restart
>
> and you should be set to go.
>
> : If anything seems to fail for you after this remake of the *.cf
> : files, just enter /etc/mail and restore from the backup copy:
> :
> :   # cd /etc/mail
> :   # zcat oldcf.tar.gz | tar xf -
>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message