diff options
author | Aaron LI <aaronly.me@outlook.com> | 2015-02-03 13:58:25 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2015-02-03 13:58:25 +0800 |
commit | 158883aba19b1dced08ad02cb87bd07cb90dfb0c (patch) | |
tree | e7b3b4817e062ded9c9384170bbdabd3f8c000f6 /.msmtprc | |
parent | 5d92d1ede1d4b6945dde4019400b86c34e4466d5 (diff) | |
download | dotfiles-158883aba19b1dced08ad02cb87bd07cb90dfb0c.tar.bz2 |
Updated configs of offlineimap, msmtp. Added notmuch-config.
Diffstat (limited to '.msmtprc')
-rw-r--r-- | .msmtprc | 131 |
1 files changed, 77 insertions, 54 deletions
@@ -1,56 +1,79 @@ -# -# msmtp configuration file -# -# LIweitiaNux -# February 6, 2012 -# -# Ref: http://pbrisbin.com/posts/two_accounts_in_mutt -# - -### Accounts will inherit settings from this section +## +## msmtp configuration +## ~/.msmtprc +## +## Weitian LI <liweitianux@gmail.com> +## 2015/02/01 +## +## Reference: +## [1] ArchWiki - msmtp +## https://wiki.archlinux.org/index.php/Msmtp +## + +# SMTP: 25 +# SSL: 465 +# TLS: 587 + +### Set default values for all following accounts. defaults -auth on -tls on -tls_starttls on -#tls_trust_file /usr/local/share/certs/ca-root-nss.crt -tls_trust_file /etc/ssl/certs/ca-certificates.crt -protocol smtp -logfile ~/.msmtp/msmtp.log - -# SSL: 465 -# TLS: 587 - -### autistici -account autistici -host smtp.autistici.org -port 587 -tls_trust_file ~/.msmtp/autistici_ca.crt -tls_certcheck on -#auto_from on -from liweitianux@autistici.org -user liweitianux@autistici.org -passwordeval gpg -d ~/.msmtp/autistici.gpg -#password password - -### gmail -account gmail -host smtp.gmail.com -port 587 -from Weitian LI -user liweitianux@gmail.com -#passwordeval gpg -d ~/.msmtp/gmail.gpg -#password password - -### lavabit -account lavabit -host smtp.lavabit.com -port 587 -from Weitian LI -user liweitianux -#passwordeval gpg -d ~/.msmtp/lavabit.gpg -#password passwod - - -### set a default account -account default : autistici +auth on +port 587 +tls on +tls_starttls on +tls_certcheck on +tls_trust_file ~/.offlineimap/ca-certificates.crt +logfile ~/.msmtp/msmtp.log + + +### Gmail - aaronly.me ### +account gmail-aly +host smtp.gmail.com +from aaronly.me@gmail.com +user aaronly.me@gmail.com +passwordeval gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/gmail-aly.gpg + + +### Outlook - aaronly.me ### +account outlook-aly +host smtp-mail.outlook.com +from aaronly.me@outlook.com +user aaronly.me@outlook.com +passwordeval gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/outlook-aly.gpg + + +### Outlook - liweitianux ### +account outlook-li +host smtp-mail.outlook.com +from liweitianux@live.com +user liweitianux@live.com +passwordeval gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/outlook-li.gpg + + +### SJTU - liweitianux ### +account sjtu +host smtp.sjtu.edu.cn +from liweitianux@sjtu.edu.cn +user liweitianux@sjtu.edu.cn +passwordeval gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/sjtu.gpg + + +### Gmail - liweitianux ### +account gmail-li +host smtp.gmail.com +from liweitianux@gmail.com +user liweitianux@gmail.com +passwordeval gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/gmail-li.gpg + + +### Autistici ### +account autistici +host smtp.autistici.org +tls_trust_file ~/.offlineimap/autistici_ca.crt +from liweitianux@autistici.org +user liweitianux@autistici.org +passwordeval gpg2 --quiet --for-your-eyes-only --no-tty --decrypt ~/.offlineimap/autistici.gpg + + +### Set the default account ### +account default : outlook-aly |