Re: Sendmail Smart Relay Configuring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux