红联Linux门户
Linux帮助

Sendmail+Dovecot on Fedora

发布时间:2008-06-21 00:25:53来源:红联作者:Aibuwan
Sendmail is a MTA(Mail Transport Agent) open source software. It’s built in the Fedora Core and many other GNU distribution.

In the Fedora, you just modify below line in the configuration file /etc/mail/sendmail.conf

DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTAtoDaemonPortOptions=Port=smtp,Addr=YOUR_Server_IP, Name=MTAand then add your client IP address or network or domain in the file
/etc/mail/access192.168.3.45 RELAY192.168.2 RELAYDomain.com RELAYMake the modification take effective with below commandservice sendmail restart

After above process, you can use your server to send mail to other local mailbox. If you would like to use it to send mails to Internet mailbox, you need to get one public domain name.

Now we go to configure pop3 protocol software, through which we can receive our mail with MUA(such outlook express). By defualt Fedora has Dovecot which suports both IMAP and POP3. You just modify the follow lines in the configuration file /etc/dovecot.conf

mail_location = mbox:~/mail:INBOX=/var/spool/mail/%urestart dovecot serviceservice dovecot restartPlease note, dovecot rejects the the user whose UID is 0, that means root user can not fetch mails from dovecot. You need to create other system user or virtual user as pop3 user.
文章评论

共有 0 条评论