On 9/21/23 15:01, Andrew Hodgson wrote:
Mark Sapiro <mark@msapiro.net> wrote:
Can you provide one of the bounce report messages and the corresponding bounce message from the MTA log.
I only have the message I would get as the owner of the list that the delivery has been disabled,
That's the one I'm interested in. If possible I'd like to see the actual raw message, not some MUAs rendering of it.
I don't have the original bounce message. One thing to note is the bounce messages coming in from Gmail are being generated by Office 365 (as that is the outbound smarthost for the Mailman server), so it may be due to the format of those NDRs why we aren't seeing the original bounce messages attached to the email.
So as I understand it, Office 365 is sending the mail to the gmail recipient which is presumably rejecting the mail at SMTP with a 5xx status.
Does Office 365 report the failure to Mailman with a failure status at SMTP time or later with an emailed DSN.
If the former, there should be log messages in Mailman's smtp.log indicating the number of failures '$msgid post to $listname from $sender, $size bytes, $refused failures' and the reason for each '$msgid delivery to $recip failed with code $smtpcode, $smtpmsg'.
Also, we create a fake DSN. See https://gitlab.com/mailman/mailman/-/blame/master/src/mailman/runners/outgoi...
If the latter we have the DSN from Office 365. In either case, the DSN should be attached to the notice. I don't know why it wouldn't be.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan