
On 1/20/21 12:07 PM, costavitorino@gmail.com wrote:
After that, I receive DISCARD from chains/discard.py:45
OK. Everything is normal, but the message is being discarded. There are many reasons why this might be the case. These include:
The poster's moderation action is discard. The poster is a list member and the list's "Default action to take when a member posts to the list" is discard. The poster is not a list member and the list's "Default action to take when a non-member posts to the list" is discard. The poster is not a list member and is in the list's "Discard these non-members" The message matches a header filter with a discard action.
There should be an entry in Mailman's mailman.log saying
DISCARD: <message-id>
To find the reason, change the line at <https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/chains/discard....> from
log.info('DISCARD: %s', msg.get('message-id', 'n/a'))
to
log.info('DISCARD: %s, reason: %s',
msg.get('message-id', 'n/a')),
msgdata.get('moderation_reasons', 'n/a')
)
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan