Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 知乎專欄 | 視頻教程 | About

Chapter 2. mail user agent (MUA)

Table of Contents

2.1. mail
2.2. mutt - text-based mailreader supporting MIME, GPG, PGP and threading
2.2.1. 發送郵件
2.2.2. 設置自定義 From
2.3. alpine - Text-based email client, friendly for novices but powerful
2.4. fetchmail - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
2.5. GPG4WIN
2.6. Evolution

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