[Mailman-Users] Message discarded without reason logged in vette

Hirayama, Pat phirayam at fredhutch.org
Fri Jul 8 12:00:34 EDT 2016


Thanks, Mark.  

WRT Content filtering -- if filter_content is set to NO, then nothing else in that section should apply, right?  That is, even if there is stuff defined for pass_mime_types and filter_filename_extensions?

Thanks,

				-p

-----Original Message-----
From: Mailman-Users [mailto:mailman-users-bounces+phirayam=fredhutch.org at python.org] On Behalf Of Mark Sapiro
Sent: Thursday, July 7, 2016 5:52 PM
To: mailman-users at python.org
Subject: Re: [Mailman-Users] Message discarded without reason logged in vette

On 7/7/16 3:58 PM, Hirayama, Pat wrote:
> So, I found a 10 year old post where Mark Sapiro described some of the reasons why "Message discarded" with only a message id and no reason happens:
> 
> Examples are when nothing is left after content filtering, a post from
> a moderated user when action is discard, a post from a non-member in
> discard_these_nonmembers, a post from a non-member with generic action
> discard, some cases of a text/html post when ARCHIVE_HTML_SANITIZER =
> 0 and a post matching a header_filter_rule with discard action.
> 
> I was wondering if there was a more complete list someplace?  Mostly because I had this happen to one of my users 3 weeks ago, and I think that I've managed to rule out everything that Mark wrote back then.


If the message in the vette log is "Message discarded, msgid: <...>",
that message is only produced in standard Mailman by IncomingRunner when
a handler raises DiscardMessage. Again in standard Mailman, the only
Handlers that do that are:

MimeDel
 - content filtering removes the entire message and filter_action is
other than Reject

Moderate
 - a post is from a moderated member with member_moderation_action Discard
 - a post is from a non-member in discard_these_nonmembers or with
generic_nonmember_action Discard

Scrubber
 - if the top level MIME type is text/html and ARCHIVE_HTML_SANITIZER =
0 (not the default, and this only applies if scrub_nondigest is Yes)

SpamDetect
 - when a message matches KNOWN_SPAMMERS
 - A post is From: a domain with DMARC p=reject (or maybe quarantine)
and dmarc_moderation_action is Discard
 - a message matches header_filter_rules with Discard action or with
Reject action and the message is to -owner

This is the current complete list for standard GNU Mailman. It is
essentially the same as in the old post with the addition of
dmarc_moderation_action. If your Mailman is from a downstream package or
has local mods, you can

grep -r DiscardMessage /path/to/Mailman/Handlers

to see if there are others

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users at python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-users/phirayam%40fredhutch.org


More information about the Mailman-Users mailing list