“来自" mutt中的地址不起作用 [英] "From" address in mutt not working
本文介绍了“来自" mutt中的地址不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请参阅此 通过控制台在Mutt中更改发件人的地址
我在使用Mutt的Shell脚本中也遇到了同样的问题.尝试更新标头(-e),发送环境变量EMAIL,更新〜/.muttrc(/etc/Muttrc中没有条目,因此没有影响),但没有任何变化.我仍然得到发件人"地址由主机设置.
I have same issue in a shell script using mutt. Tried updating the header (-e), sending env variable EMAIL, updated ~/.muttrc (There is no entry in /etc/Muttrc so that does not have an effect) but no change.I still get "From" address as what is set by host.
请帮助.
推荐答案
在.muttrc中设置set use_envelope_from = yes
.这会在调用时添加-f选项
sendmail发送邮件,迫使它使用与发件人:"标头字段相同的信封地址.
Set set use_envelope_from = yes
in your .muttrc. This adds the -f option when calling
sendmail to deliver the mail, forcing it to use the same address for the envelope as for the From: header field.
这篇关于“来自" mutt中的地址不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文