On 9/10/20 12:13 PM, Dennis Putnam wrote: >> >> From:\s.*no-reply >> > Thanks again for the reply. Unfortunately that doesn't work either.
Try this in header_filter_rules ^from:\s*(<?no-reply|.*<no-reply)@ These are case insensitive. The 'From:\s.*no-reply' pattern is too liberal. It will for example match Subject: a message from: someone with a no-reply address You need the initial ^ to ensure you're matching the From: header and not just any header with 'from: ' in it. My suggestion will match things like: From: no-re...@example.com From: <no-re...@example.com> From: Jane Doe <no-re...@example.com> and it won't match From: juno-re...@example.com From: no-reply...@example.com -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------ Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-le...@python.org 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/mailman-users@python.org/ https://mail.python.org/archives/list/mailman-users@python.org/