On 9/10/2020 4:52 PM, Mark Sapiro wrote: > 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: [email protected] > From: <[email protected]> > From: Jane Doe <[email protected]> > > and it won't match > > From: [email protected] > From: [email protected] > > Thanks. So far it is looking good but I made one small change:
^from:\s*(<?no-reply|.*<no-reply|.*<noreply)@ I hope I did it right.
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]/
