| Configure sendmail as a relayserver |
|
|
|
| Wednesday, 25 March 2009 00:00 | |||
Change the following lines in /etc/mail/sendmail.mcdefine(`SMART_HOST', `ventoux.r71.nl')dnl dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl LOCAL_DOMAIN(`alpedhuez.r71.nl')dnl # m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf Flush deferred messages in sendmail queueWhenever sendmail has to deliver mails to other hosts which cannot be reached at that time, the messages are kept in the queue and are marked as “Deferred: Connection timed out”. Although the other hosts could be reached again and you want to tell sendmail to flush the mail queue, the command Default mail queue interval setting # cat /etc/sysconfig/sendmail Test on commandlinetelnet yourrelayserver.com 25 helo <hostname>
|