$ sudo apt-get install ssmtp
There is a single configuration file to be altered: /etc/ssmtp/ssmtp.conf. Below is the required configuration for a Gmail server:
root=Email Address # Your email address
mailhub=smtp.gmail.com:587 # Gmail details
UseSTARTTLS=YES # Send SSL/TLS messages to Gmail
AuthUser=Gmail Username # Your Gmail Username
AuthPass=Gmail Password # Your Gmail Password
rewriteDomain=gmail.com # So the message appears to come from Gmail
FromLineOverride=YES # So the message appears to come from Gmail
hostname=Hostname # Hostname: use hostname -f in a Terminal$ sudo apt-get install mutt
mutt configuration (~/.mutt/.muttrc)
# mail check options
Successfully use Mutt with Gmail
set pop_host="pops://name:password@pop.gmail.com:995"
set pop_last
unset pop_delete
# mail send options
set sendmail="~/bin/gmailout"
# check for new mail on startup
exec fetch-mail
using mutt with Gmail
2008年9月27日星期六
Using Mutt with Gmail
订阅:
博文评论 (Atom)
0 个无聊的人:
发表评论