Sendmail: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
Enable smtp on all interfaces. | |||
/etc/mail/sendmail.cf | |||
O DaemonPortOptions=Port=smtp, Name=MTA | |||
Usermappings. | Usermappings. | ||
Revision as of 15:55, 11 November 2006
Enable smtp on all interfaces. /etc/mail/sendmail.cf O DaemonPortOptions=Port=smtp, Name=MTA Usermappings. /etc/mail/virtusertable anden@halfface.se bjorklun andreas.bjorklund@halfface.se bjorklun stannaks@halfface.se stannaks none@halfface.se error:nouser 550 No such user here wrong@halfface.se error:5.7.0:550 Address invalid @halfface.se bjorklun anna-karin@sivberg.se stannaks @sivberg.se stannaks @mobbad. bjorklun @anden.homeip.net bjorklun ---- aliases for your host <verbatim> /etc/mail/local-host-names anden.homeip.net www.halfface.se halfface.se www.mobbad.nu mobbad.nu www.sivberg.se sivberg.se ---- Access rights. Who can send mail and username and password at www.bredband.net smtp server. <verbatim> /etc/mail/access localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY 192.168.2.1 RELAY 192.168.3.1 RELAY AuthInfo:smtp.bredband.net "U:b586378" "I:b586378" "P:??????" "M:LOGIN PLAIN" ---- Forward a copy of email. ~/.forward \bjorklun andreas.bjorklund@infineon.com