Download raw body.
smtpd(8) should add missing date and message id headers also on port 465
smtpd(8) should add missing date and message id headers also on port 465
smtpd(8) should add missing date and message id headers also on port 465
smtpd(8) should add missing date and message id headers also on port 465
On 10.09.24 12:07, Walter Alejandro Iglesias wrote:
> On Tue, Sep 10, 2024 at 01:10:39AM +0200, Christian Schulte wrote:
>> On 09.09.24 11:54, Walter Alejandro Iglesias wrote:
>>>
>>> Anyway, my slightly related question was: how did you managed to include
>>> a In-Reply-To header using a plain smtpd(8) command ('sendmail -t').
>>>
>>
>> By copying the message id from the archive into vi(1) and writing it by
>> hand. sendmail(8) adds missing message-id and date headers.
>
> You helped me to find something curious.
>
> First of all, the message you sent with the sendmail command, besides
> In-Reply-To and References (which are not added by opensmtpd) shows a
> Message-ID which is also not generated by opensmtpd:
>
> Message-ID: <29b681b5a4b153c2@x500.schulte.it>
There is no References header, because I did not type it into vi(1). Of
course the message id header has been generated by OpenSMTPD.
x500$ cat /etc/myname
x500.schulte.it
> This tells me that you pasted more than one header in the file.
No. I did not.
From:
To:
Subject:
In-Reply-To:
Nothing more than this. Message-ID and Date got added by OpenSMTPD,
because I used sendmail(8) to inject the message into the network and
OpenSMTPD correctly recognizes this as a submission.
>
> After some testing I found out the following. Using this command:
>
> $ sendmail -f user user < file
Damn it. What's so hard about reading man pages? You do notice that we
all used telnet back in the days when there were no MUAs around?
--
Christian
smtpd(8) should add missing date and message id headers also on port 465
smtpd(8) should add missing date and message id headers also on port 465
smtpd(8) should add missing date and message id headers also on port 465
smtpd(8) should add missing date and message id headers also on port 465