Re: [SPAM] - RE: Setting up a mail server - Found word(s) listerror in the Text body.

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

 



Hmm - naughty, naugthy! One should never edit the sendmail.cf file
directly. Much rather edit the /etc/mail/sendmail.mc file and run 'make'
- which rebuilds the sendmail.cf file.

If you ever make a change to your .mc file and run make by mistake,
you'd overwrite your .cf file and you'd spend hours afterwards trying to
figure out, what went wrong and why mail no longer works.

The mc file makes more sense, too, at times. But then, these are just
mho ;-)

Best regards,
Chris


On Wed, 2004-06-30 at 12:09, Alexander Dalloz wrote:
> Am Mi, den 30.06.2004 schrieb Mark Haney um 17:58:
> 
> > Here's a link to the article I used to walk through the steps of setting  
> > up sendmail.  About the only thing I needed to worry about with dovecot,  
> > was changing the dovecot.conf file to use pop3 as well as imap.
> > 
> > http://www.linuxjournal.com/article.php?sid=5507
> 
> > Mark Haney
> 
> From the linuxjournal article:
> ---quotation---
> This machine has an address of 192.168.100.134 on the eth0 interface.
> Once you have that address, edit the /etc/sendmail.cf file and configure
> the sendmail dæmon to listen on the address.
> 
> # SMTP daemon options
> 
> O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
> 
> change to
> 
> O DaemonPortOptions=Port=smtp,Addr=192.168.100.134, Name=MTA
> 
> Once you have completed this task, save this file and restart the
> sendmail dæmon using the rc script /etc/init.d/sendmail.
> ---quotation end---
> 
> That is bad bad bad. Don't edit the sendmail.cf! The risk to do
> something wrong is much higher than using sendmail.mc, you won't be able
> to tranport individual settings onto a different machine with different
> setup (at least not without headaches), and - most important - you will
> loose all changes by the sendmail init script on Fedora once you changed
> the sendmail.mc as it automatically rebuilds the sendmail.cf from the
> sendmail.mc!
> 
> Too it is wrong to exchange the localhost IP to the individual host
> address! That will prohibit a proper running Sendmail daemon as he is
> still no more listening on localhost. That will cost you a good part of
> functions. Either comment out the DAEMON_OPTIONS line in the sendmail.mc
> as documented in there or if you want to limit the daemon on a part of
> your available IPs then add DAEMON_OPTIONS lines for each IP you want to
> have Sendmail listening on.
> 
> Alexander
-- 
Chris Ruprecht <chrisr@xxxxxxxxxxxx>



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

  Powered by Linux