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 -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 Serendipity 18:02:57 up 16:29, 8 users, 1.19, 1.31, 1.32
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil