|
|
发表于 2008-4-20 12:31:15
|
显示全部楼层
您好,我的设置如下,但是反送时命令
mutt -s "test" ***@yahoo.cn < music.sh
光标就在下一行一直闪,发不出去.
请问怎么办?如何解决?
~/.muttrc
set rfc2047_parameters=yes
set folder = ~/Mail
set mbox="~/Mail/inbox"
set postponed="~/Mail/postponed"
set spoolfile="~/Mail/inbox"
set record="~/Mail/sent"
set query_command="lbdbq '%s'"
my_hdr From:laoliu<m*****@gmail.com>
my_hdr Reply-To:laoliu<m*****e@gmail.com>
#set pop_host="pops://usernameassword@pop.gmail.com" #用户名及密码
#set pop_last=yes # 只收取新邮件,如果是第一次使用,请先注释掉此行,第一次收取邮件后在取消注释)
set sendmail = "/usr/bin/msmtp"
set envelope_from = yes
set mailcap_path="/etc/mailcap"
set mailcap_sanitize=yes
set header = no
set hostname = gmail.com
set quit = yes
set move = no
set ascii_chars = yes
set include = yes
set indent_str = " > "
set fast_reply = yes
set pager_stop = yes
set resolve = yes
#source ~/.mutt.alias
#set alias_file=~/.mutt.alias
set send_charset="us-ascii:iso-8859-1:gb2312:utf-8"
set wait_key = yes
set edit_headers = no
set pager_index_lines = 4
set index_format = "%Z %2C |%{%b月%d日} %-15.15L (%5lk) %s"
color normal white default
color attachment black magenta
color signature brightred default
color status white blue
color tilde blue default
color tree brightmagenta default
color underline yellow default
color bold green default
color error red default
color indicator black white
color markers brightred default
color message white blue
color body cyan default "ftp://[^ ]*"
color body cyan default "www.[^ ]*"
color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
color body cyan default "<URL:[^ ]*>"
color body brightblue default "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)"
color body brightblue default "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)"
color body brightblue default "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)"
color body yellow default "[;:]-[)/(|]"
color body yellow default "[8][-\^][)|]"
color body yellow default "[;:][)/(|]"
color body brightblue default "(http|https|rsync|ftp|news|telnet|finger|gopher)://[^ ]*"
color body brightblue default "<(http|https|rsync|ftp|news|telnet|finger|gopher)://[^ ]*>"
color header yellow default "^cc: "
color header red cyan "^X-Spam-Status:"
color header green default "^date: "
color header yellow default "^from "
color header cyan default "^from: "
color header yellow default "^newsgroups: "
color header yellow default "^reply-to: "
color header cyan default "^subject: "
color header green default "^to: "
color header yellow default "^x-mailer: "
color header yellow default "^message-id:"
color header yellow default "^Organization:"
color header yellow default "^Organisation:"
color header yellow default "^User-Agent:"
color header yellow default "^message-id: .*pine"
color quoted cyan default
color quoted1 yellow default
color quoted2 red default
color quoted3 green default
color quoted4 cyan default
color quoted5 yellow default
color quoted6 red default
color quoted7 green default
color index green default ~N
color index red default ~O
color index magenta default ~F
color index blue default ~T
color index yellow default ~D
~/.msmtprc
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/Mail/msmtp.log
#gmail
account gmail
host smtp.gmail.com
port 587
from m*****@gmail.com
auth on
user m*****@gmail.com
password #####
#yahoo
account yahoo
host smtp.mail.yahoo.com.cn
from ***@yahoo.cn
auth on
user ***
password #####
account default : gmail |
|