第十九章-其它命令行程序
- 邮件: Mutt
安装:
sudo apt-get install mutt
安装中如果被询问postfix
的配置,全选默认即可
配置:
sudo mkdir -p ~/.mutt/cache/headers
sudo mkdir ~/.mutt/cache/bodies
sudo touch ~/.mutt/certificates
sudo touch ~/.mutt/muttrc
Tips: 如果在Gmail帐户启用了“两步认证”,则需为Mutt单独生成一个密码,在下面添加帐户信息的时候就填这个专用密码
sudo nano ~/.mutt/muttrc
添加:
set ssl_starttls=yes
set ssl_force_tls=yes
set imap_user = '
[email protected]'
set imap_pass = 'PASSWORD'
set from='
[email protected]'
set realname='Your Name'
set folder = imaps://imap.gmail.com/
set spoolfile = imaps://imap.gmail.com/INBOX
set postponed="imaps://imap.gmail.com/[Gmail]/Drafts"
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
set smtp_url = 'smtps://
[email protected]:
[email protected]:465/'
set move = no
set imap_keepalive = 900
set record=""
发送邮件:
mutt -s "Subject" [email protected]
有帮助的链接: Arch wiki
- RSS: Newsbeuter
sudo apt-get install newsbeuter
mkdir ~/.newsbeuter
sudo nano ~/.newsbeuter/urls
添加RSS源:
https://www.raspberrypi.org/feed/
保存退出;首次运行:
newsbeuter
按 R
重新加载
退出按 q
- BBS: Telnet
sudo apt-get install telnet
luit -encoding gbk telnet newsmth.net