mutt+postfix+fetchmail在Linux(fedora)下實現郵件收發。

1. 安裝postfix
yum  remove sendmail先刪除默認安裝的sendmail(配置困難); yum  install  postfix
2. 安裝fetchmail
yum install fetchmail
3. 安裝mutt
yum  install  mutt
4. 配置mutt      文件.1(可用多個這樣的文件配置多個郵件帳戶)
#set     daemon    600    如果要把fetchmail作爲守護進程的話取消此註釋 set    postmaster    #接收郵件的用戶 set    logfile    ./.fetchmail.log     #指定日誌文件 poll    pop.gmail.com     #從何處接收郵件 port    995 proto    pop3     #接收郵件協議,pop3/IMAP no    dns user        #帳戶名 fetchall no flush ssl
5. 利用mutt發郵件
mutt中可按提示進行
6. 利用fetchmail收郵件
fetchmail -avk -f ~~~~/.1
7. 利用mutt查看fetchmail中接收的郵件
mutt..............................
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章