[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Regenerating the Sendmail.cf file Anyone ?
- From: "Greg" <greg_w bigpond com>
- To: <redhat-list redhat com>
- Subject: Re: Regenerating the Sendmail.cf file Anyone ?
- Date: Sun, 2 May 1999 05:55:18 +1000
Hello
This is the second time someone has mentioned this dir
cd /usr/lib/sendmail-cf/cf
and this file redhat.mc
Problem is, I dont have either ???
It is a standard install using Rehat 5.0 Hurricane, sendmail is doing
everything it should, except for virtual user stuff, I have another machine
with RH5 installed (off same CD) it also does not have any of these
directories, files
Am I missing something ? All help appreciated, I will go off and see if I
can locate the RPM and re install, see if I get anywhere
Or should I get the file from sendmail.org, and start again ?
Regs
----- Original Message -----
From: Olmy <olmy thistledown org>
To: <redhat-list redhat com>
Sent: Sunday, May 02, 1999 3:17 AM
Subject: Re: Regenerating the Sendmail.cf file Anyone ?
> >
> > on the sendmail site , but this does not work
> >
> > Anyone know the comand/s ?
> >
> > Am using RH5
>
>
> with redhat 5.x, you should be able to do the following:
>
> cd /usr/lib/sendmail-cf/cf
>
> In that directory, there is a file called redhat.mc. There are
> additional configurations that you can do to this M4 file if you
> need to add stuff like virtusertable or domaintable etc etc.
>
> You can edit the file and add/edit stuff as you see fit.
>
> If you just want to generate a new sendmail.cf, do the following:
>
> m4 redhat.mc > redhat.cf
>
> (if you have an existing sendmail.cf that you need to compare with
> the new one, you want want to do a diff)
>
> diff -U0 /etc/sendmail.cf redhat.cf
>
>
> If satisfied that you have a good file, copy it over to be your
> new sendmail.cf file.
>
> cat redhat.cf > /etc/sendmail.cf
>
>
> Now kill and restart the sendmail daemon.
>
> /etc/rc.d/init.d/sendmail stop
> killall sendmail
> /etc/rc.d/init.d/sendmail start
>
>
> Make sure the daemon successfully restarted:
>
> ps auwwx|grep -i send
>
>
>
>
> All of this assumes that you have a stock Redhat install with
> a stock sendmail installed off the Redhat CD.
>
>
> To summarize the commands again:
>
>
> cd /usr/lib/sendmail-cf/cf
> <edit redhat.mc if necessary>
> m4 redhat.mc > redhat.cf
> diff -U0 /etc/sendmail.cf redhat.cf
> cat redhat.cf > /etc/sendmail.cf
> /etc/rc.d/init.d/sendmail stop
> killall sendmail
> /etc/rc.d/init.d/sendmail start
>
> ps auwwx|grep -i send (to ensure sendmail is running)
>
>
>
> olmy
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request redhat com with
> "unsubscribe" as the Subject.
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]