打造你的办公环境-email篇
2016-03-04 14:58
489 查看
1. 配置安装 procmailr 和 getmail
///////////////////////////////// ignore the follow /////////////////////////////////////////$ mkdir mail-setup
$ cd mail-setup/
$ tar xpfv muttrc-out-of-box.tgz
$ cd .mutt/
$ rm muttrc-out-of-box.tgz
$ cd .mutt/
$ cd scripts/
$ cd ..
$ cd misc
$ cd ..
$ cd scripts/
$ vi bootstrapping-mutt.sh
$ ./bootstrapping-mutt.sh
$ cd .mail/
$ cd ..
$ rm .muttrc
$ cd .mail
$ cd ..
$ rm .lbdbrc
$ cat .mailcap
$ rm .mailcap
///////////////////////////////////////////////////////////////////
configure getmail
$ sudo apt install getmail$ sudo apt install procmail
$ apt search getmail
$ sudo apt install getmail4
$ dpkg -L getmail4
$ getmail
$ mkdir .getmail
$ cd .getmail/
$ ls
$ cp ~/mail-setup/.mutt/misc/getmailrc.template.sample .
$ vi getmailrc.template.sample
$ getmail
$ mv getmailrc.template.sample getmailrc
$ cat ~/.getmail/getmailrc
# 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 3.16.0-33-generic x86_64 Ubuntu 14.04.3 LTS mail_location = maildir:~/Mail/2016:LAYOUT=fs:INBOX=~/Mail/2016/Inbox:INDEX=~/Mail/.dovecot/indexes:CONTROL=~/Mail/.dovecot/control maildir_very_dirty_syncs = yes namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } protocols = " imap" ssl_cert = </etc/dovecot/dovecot.pem ssl_key = </etc/dovecot/private/dovecot.pem userdb { driver = passwd }
View Code
$ doveadm
debug dovecot
http://www.anta.net/misc/telnet-troubleshooting/imap.shtmlhttp://webcache.googleusercontent.com/search?q=cache:iGfa6OFcHGcJ:wiki.dovecot.org/TestInstallation+&cd=1&hl=zh-CN&ct=clnk&gl=us
3. 配置domainname
$ domainname相关文章推荐
- 【什么是长尾关键词(Long Tail Keyword)】
- 在mac上用Xcode写程序, run的时候总是失败, 显示clang: error: linker command failed with exit code 1
- How To Reclaim Wasted Space on The Segment (Table, Index and LOB) and Tablespace Levels (文档 ID 16827
- 怎样用好ZBrush中的PaintStop插件
- At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for 。。。
- hair gene (news)
- 软件RAID5项目实战!!!
- 软件RAID5项目实战!!!
- Raid 5 故障恢复
- 1086 Tree Traversals Again
- UVALive 6900 Road Repair [树分治+线段树]
- TypedArray和obtainStyledAttributes的使用
- 大耳朵 faith 老师英语课堂
- IPC—AIDL最简单的实现步骤
- 进阶篇:以IL为剑,直指async/await
- document.domain 跨域问题
- 我与小娜(25):聚焦人工智能挑战人类智慧的一场赛事
- spark , NoSuchMethodError: ConcurrentHashMap.keySet 和failed to connect to master的错
- HDU 2476 String painter(区间DP)
- HDU 2476 String painter(区间DP)