Sendmail Smart Relay Configuring

Alexander Dalloz ad+lists at uni-x.org
Tue Feb 14 04:11:38 UTC 2006


Am Di, den 14.02.2006 schrieb Lovell Mcilwain um 4:50:

> > How do you try to generate the .cf files? Simply run
> >
> > make -C /etc/mail
> >
> > (just to see if there are any errors/complaints)
> >
> >   
> Output:
> make: Entering directory `/etc/mail'
> make: Leaving directory `/etc/mail'
> 
> sendmail.cf did have content in it this time.
> > then
> >
> > service sendmail restart
> >
> >   
> I restarted the service:
> 
> Shutting down sendmail:                                    [  OK  ]
> Shutting down sm-client:                                   [FAILED]

The submission agent wasn't running.

> Starting sendmail:                                         [  OK  ]
> Starting sm-client:                                        [  OK  ]
> 
> I didn't get any complaints.

> >>> [user at FC4FW share]$  m4 /etc/mail/sendmail.mc /etc/mail/sendmail.cf

> > Not the correct command syntax.

You omitted the ">".

> This was the syntax I was told to use to append changes to my .cf file.  
> If this isn't right what do I use? I had no clue about the previous 
> command you gave me to generate the sendmail.cf file correctly.

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Better use the make command (which makes use of the Makefile inside
/etc/mail) and catches more than just the .mc file changes, too the
hashed map files.

Alexander
  

-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 05:08:49 up 3 days, 14:00, load average: 0.15, 0.25, 0.43 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060214/c29ba19f/attachment-0001.sig>


More information about the fedora-list mailing list