Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | About

第 61 章 mail user agent (MUA)

目錄

61.1. mail
61.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
61.2.1. 發送郵件
61.3. alpine - Text-based email client, friendly for novices but powerful
61.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
61.5. GPG4WIN
61.6. Evolution

61.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