May132011
mutt: changing sender mail address
mutt: changing sender mail address
中文意思:使用mutt时如何修改发件人地址Had a need today to adjust the sender email address for a notification script. Since the script uses mutt to send the emails, that change was fairly straight-forward. Instead of modifying .muttrc, simply export the EMAIL environmental variable. On the command line it looks something like this:
1
2 $ export EMAIL=’account@domain’
$ mutt <the rest of the mutt command line directives here…>You can always combine the above into a single line if needed:
1 $ export EMAIL=’account@domain’; mutt <the rest of the mutt command line directives here…>Btw, mutt is only a MUA (Mail User Agent) and not a MTA (Mail Transport Agent) and it relies on the underlying MTA to perform the mail delivery. In this case sendmail for us.
from: appgirl.net
本文固定链接: https://iplaylinux.com/mutt-changing-sender-mail-address.html | Linux玩家