[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Stephen J. Turnbull
Dennis Putnam writes: > Thanks. So far it is looking good but I made one small change: > > ^from:\s*( > I hope I did it right. That does what you want it to do, and no more. You can express it more compactly with ^from:\s*(https://mail.python.org/mailman3/lists/mailman-users.python.or

[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Dennis Putnam
On 9/11/2020 11:52 AM, Mark Sapiro wrote: > On 9/11/20 6:44 AM, Dennis Putnam wrote: > >> Thanks. So far it is looking good but I made one small change: >> >> ^from:\s*(> >> I hope I did it right. > > What you did is OK. It will match > > From: Jane Doe > > but a simpler way to do that is > > ^fro

[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Mark Sapiro
On 9/11/20 6:44 AM, Dennis Putnam wrote: > Thanks. So far it is looking good but I made one small change: > > ^from:\s*( > I hope I did it right. What you did is OK. It will match From: Jane Doe but a simpler way to do that is ^from:\s*(The highway is for gamblers, San Francisco Ba

[Mailman-Users] Re: Filer From: no-reply

2020-09-11 Thread Dennis Putnam
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*( > These are case insensitive. The 'From:\s.*no-reply' pattern is too

[Mailman-Users] Re: Filer From: no-reply

2020-09-10 Thread Mark Sapiro
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*( From: Jane Doe and it won't match From: juno-re...@example.com From: no-reply...@example.com -- Mark Sapiro

[Mailman-Users] Re: Filer From: no-reply

2020-09-10 Thread Richard Damon
On 9/10/20 3:13 PM, Dennis Putnam wrote: > On 9/10/2020 2:56 PM, Richard Damon wrote: >> On 9/10/20 2:37 PM, Dennis Putnam wrote: >>> 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 ther

[Mailman-Users] Re: Filer From: no-reply

2020-09-10 Thread Dennis Putnam
On 9/10/2020 2:56 PM, Richard Damon wrote: > On 9/10/20 2:37 PM, Dennis Putnam wrote: >> 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

[Mailman-Users] Re: Filer From: no-reply

2020-09-10 Thread Richard Damon
On 9/10/20 2:37 PM, Dennis Putnam wrote: > 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 bou

[Mailman-Users] Re: Filer From: no-reply

2020-09-10 Thread Dennis Putnam
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 re

[Mailman-Users] Re: Filer From: no-reply

2020-09-10 Thread Richard Damon
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