Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

第 60 章 mail user agent (MUA)

目录

60.1. mail
60.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
60.2.1. 发送邮件
60.3. alpine - Text-based email client, friendly for novices but powerful
60.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
60.5. GPG4WIN
60.6. Evolution

60.1. mail

mail 默认使用 sendmail 命令发送邮件

cat /etc/fstab | mail -s "Hello" netkiller@msn.com
		

通过SMTP发送邮件,创建 /etc/mail.rc 配置文件

vim /etc/mail.rc 

--- 增加如下内容 ---

set from=yourname@your-domain.com
set smtp=mail.your-domain.com
set smtp-auth-user=yourname
set smtp-auth-password=yourpasswd
set smtp-auth=login