On 9/10/2020 2:01 PM, Richard Damon wrote: > On 9/10/20 12:47 PM, Dennis Putnam wrote: >> I am getting email from entities with From: no-reply headers. Is there a >> way to filter those and just dump them in the bit bucket rather than go >> through bounce processing? TIA. >> > If you can write a regex for them, you could put it into Privacy / Spam > Filters with result discard. Might want to test with Hold to see if you > get false positives with your regex first. > Thanks for the reply. I'm not a regex expert so I am struggling with this a bit. I can get this much to work:
(?i)no-reply@ However, I have to make sure this occurs in the 'From' header and that is the part I don't know how to add. Does the filter parse the entire raw message? It appears there is some character I cannot seem to catch after the 'From:'. This does not work: From:\s.?(?i)no-reply
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------ Mailman-Users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/mailman-users.python.org/ Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: https://www.mail-archive.com/[email protected]/ https://mail.python.org/archives/list/[email protected]/
