not to set message id in outgoing email
Shehu Dikko
news.shehu at gmx.net
Mon Feb 15 20:53:02 UTC 2021
* Peng Yu [20210203 20:23:18]:
>On Wed, Feb 3, 2021 at 11:23 AM Will Yardley
><mutt-users at veggiechinese.net> wrote:
>>
>> On Wed, Feb 03, 2021 at 08:57:32AM -0600, Peng Yu wrote:
>> >
>> > When I use mutt to construct an outgoing email, is there a way not
>> > to set the message id? Thanks.
>>
>> Even if Mutt doesn't set one, the first MTA it hits will add one.
>
>I want the first MTA add one, instead of using the one generated by
>mutt.
One way to get what you want is to use esmtp:
# muttrc
set sendmail="/usr/bin/esmtp"
# esmtprc
identity = user at ho.st
hostname = smtp.ho.st:587
username = user at ho.st
password = password
starttls = enabled
message_id = disabled
# man esmtprc
message_id
Whether to set the Message-ID field of the message before sending.
Normally the receiving MTA sets the Message-ID if missing, so you can
turn this off if your sending host does not have a fully qualified
domain name.
Allowed values are either enabled or disabled. It defaults to enabled.
regards,
s h e h u
More information about the Mutt-users
mailing list