mutt fetchmail msmtp 收发gmail

.fetchmailrc
------------------------------
set postmaster wizard
#set syslog
set daemon 30
set logfile /home/wizard/.fetchmail.log
poll pop.gmail.com with proto POP3 and options no dns
user " [email protected]" there with pass 'xxx' is 'wizard' here
options ssl keep
sslfingerprint '90:9A:84:92:E7:60:7C:A2:45: 73:C9:11:D7:FE:7D:8A'
sslcertck sslcertpath /etc/ssl/certs
mda "/usr/bin/procmail -d %T"

.procmailrc
----------------------------------
 # .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
MAILDIR=/home/wizard/Mail # all mailboxes are in .mailspool/
DEFAULT=$HOME/Mail/inbox
LOGFILE=/dev/null
SHELL=/bin/sh

# Put mail from DC-Linux mailing list into mailbox dclinux
:0:
* ^(From|Cc|To).*shlug
shlug

# Put mail from DC-Linux mailing list into mailbox dclinux
:0:
* ^(From|Cc|To).*shyw13
shyw13


.msmtprc
------------------------------
--
defaults
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca- certificates.crt

account default
host smtp.gmail.com
port 587
auth on
user [email protected]
password xxx
from [email protected]


.muttrc 从
http://www.kreny.com/docs/mutt.htm摘来的。
------------------------------ -----
set sendmail = "/usr/bin/msmtp -v -X /home/wizard/log/msmtp.log"
#set the display index format
set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"
#set mail boxs, press "c" than "tab"
mailboxes Mailbox sent-mail
#when reply a mail, whether include the original header
set header=no
#when type 'q' to quit, whether ask you or not
#set quit=ask-yes
#which kind of file could be viewed directly via mailcap?
auto_view text/html
#whether move mail from spool to mbox
#set move=no
#when display by thread, whether use ascii?
set sort=threads
set sort_aux=date
set ascii_chars=yes
#when reply, whether include original mail
set include
#charachter inserted before reply message
set indent_str=">"
#when viewing mail, stop in current mail, not jump to next mail
set pager_stop
#when reply mail, go to edit window without interactive
#set fast_reply
#after setting flag, like 't','D', move curser to next mail
set resolve=yes
#when set alias by 'a', which file to save
set alias_file=/home/wizard/.mutt/alias
#where to save sent mail
#set record="~/Mail/=sent-mail-`date +%Y-%m`"
#set coding set for display
#set charset="gb2312"
#char set for sending mail
#set send_charset="us-ascii:iso-8859-1:gb2312:utf-8"
#prompt before external program exit
set wait_key=yes
#when move mail to another mail box which already exist, append or not
set noconfirmappend
#edit mail header or not?
set edit_headers=yes
#leave number of lines to show mail list in pager mode
set pager_index_lines=8

# the mail list you subscribed, press 'L' to reply to list
subscribe [email protected]

my_hdr From: Wizard<[email protected]>
my_hdr Reply-To: Wizard<[email protected]>





你可能感兴趣的:(list,File,header,Gmail,include,wizard)