(早期的筆記)
Type: System V - Launched Daemon
Packages: sendmail [ -cf, -doc}
Daemons: sendmail
Script: sendmail
Ports: 25(smtp)
Config: /etc/sendmail.cf, /etc/aliases, /etc/mail/*, /usr/share/sendmail-cf/
允許郵件傳送:
修改 /etc/sendmail.cf
找 127.0.0.1 -> 註解
( /etc/mail/access 中加上 Relay 網域再加上 #make )
#service sendmail restart
或
修改 /etc/mail/sendmail.mc
找 127.0.0.1 -> 註解 (dnl)
#m4 sendmail.mc > /etc/sendmail.cf
#service sendmail restart
郵件別名:
修改 /etc/aliases
加上所需別名 ex: root:webmaster, admin.....
#newalises
SMTP-AUTH:
/etc/mail/sendmail.mc
找 AUTH, MD5 等字串
將 dnl 註解拿掉
#m4 sendmail.mc > /etc/sendmail.cf
使用POP3:
找 imap-2001***.rpm 套件, 安裝
#chkconfig ipop3 on
#service xinetd restart
沒有留言:
張貼留言