henix / blog

some notes
0 stars 0 forks source link

Linux 给本地邮箱发邮件 #19

Open henix opened 10 years ago

henix commented 10 years ago
[~]$ mail 
Heirloom Mail version 12.5 7/5/10.  Type ? for help.
"/var/spool/mail/henix": 4 messages 1 new
    1 To henix              Sat Sep  7 12:25  12/252   "test"
 A  2 To henix              Sat Sep  7 12:29  15/391   "Linux 如何向自己床发邮件"
    3 To henix              Sat Sep  7 12:32  15/400   "Re: Linux 如何向自己床发邮件"
>N  4 To henix              Sat Sep  7 12:36  23/518   "Re: Linux 如何向自己床发邮件"
& type 4
Message  4:
From henix Sat Sep  7 12:36:13 2013
Date: Sat, 07 Sep 2013 12:36:13 +0800
To: henix
Subject: Re: Linux 如何向自己床发邮件
User-Agent: Heirloom mailx 12.5 7/5/10
Content-Type: text/plain; charset=utf-8
Status: R

> 1. 安装 mailx
> 2. 安装 gun mailutils
> 3. 配置 mailx 使用 mailutils 中的 maidag

set sendmail=/usr/bin/maidag

调用: mail -s "subject" username < mailcontent

安装:

pacman -S mailutils
pacman -S heirloom-mailx

& Held 4 messages in /var/spool/mail/henix
[~]$ 
henix commented 10 years ago

alpine 是更好的 email client

henix commented 10 years ago

archlinux 改成 s-nail