20 Apr
2022
20 Apr
'22
5:01 p.m.
On 4/20/22 07:54, Rainer Herbst wrote:
Dear all,
my first post was to optimistic - the user tested some other combinations and when he tries to send a signed HTML mail, the server again refuses to accept it with "Diagnostic-Code: smtp; 501 Message has defects".
The user suggested that the problem is caused by a line containing only "-- " somewhere in the text, but I can not confirm this.
Please find enclosed the refused mail (anonymized).
That message has no defects.
>>> import email
>>> from mailman.email.message import Message
>>> txt = b""" (the testmail-abgelehnt.txt contents) """
>>> msg = email.message_from_bytes(txt, Message)
>>> msg.defects
[]
>>>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan