mutt+postfix+fetchmail在Linux(fedora)下实现邮件收发。
1. 安装postfixyumremove sendmail先删除默认安装的sendmail(配置困难);yuminstallpostfix2. 安装fetchmailyum install fetchmail3. 安装muttyuminstallmutt4. 配置mutt 文件.1(可用多个这样的文件配置多个邮件帐户)#set daemon 600 如果要把fetchmail作为守护进程的话取消此注释set postmaster #接收邮件的用户set logfile ./.fetchmail.log #指定日志文件poll pop.gmail.com #从何处接收邮件port 995proto pop3 #接收邮件协议,pop3/IMAPno dnsuser #帐户名fetchallno flushssl5. 利用mutt发邮件mutt中可按提示进行6. 利用fetchmail收邮件fetchmail -avk -f ~~~~/.17. 利用mutt查看fetchmail中接收的邮件mutt..............................
页:
[1]