Re: method to discard email with body containing gmail address

2021-11-14 Thread Vincent Lefevre
On 2021-11-08 09:43:01 +0100, Ansgar Wiechers wrote: > On 2021-11-06 Wietse Venema wrote: > > li...@lazygranch.com: > >> Reply-To: jm84450...@gmail.com > > > > Use header_checks (not body_checks) if you want to block that. > > Still, I would be concerned about rejecting legitimate email. > > It's

Re: method to discard email with body containing gmail address

2021-11-08 Thread Dominic Raferd
On 08/11/2021 08:43, Ansgar Wiechers wrote: On 2021-11-06 Wietse Venema wrote: li...@lazygranch.com: Reply-To: jm84450...@gmail.com Use header_checks (not body_checks) if you want to block that. Still, I would be concerned about rejecting legitimate email. It's true that this can reject

Re: method to discard email with body containing gmail address

2021-11-08 Thread Ansgar Wiechers
On 2021-11-06 Wietse Venema wrote: > li...@lazygranch.com: >> Reply-To: jm84450...@gmail.com > > Use header_checks (not body_checks) if you want to block that. > Still, I would be concerned about rejecting legitimate email. It's true that this can reject legitimate e-mail. However, the abuse of

AW: method to discard email with body containing gmail address

2021-11-07 Thread Ludi Cree
-postfix-us...@postfix.org Im Auftrag von li...@lazygranch.com Gesendet: Samstag, 6. November 2021 12:16 An: postfix-users@postfix.org Betreff: method to discard email with body containing gmail address Most of my spam contains a gmail address to reply to the spammer. I would like to discard

Re: method to discard email with body containing gmail address

2021-11-07 Thread Jaroslaw Rafa
Dnia 6.11.2021 o godz. 16:56:01 li...@lazygranch.com pisze: > Note a few of the spammers put their email address in the subject line. > Maybe that should be my first attempt at discarding. I can't think of a > non-spammer doing that. Some MUAs do. I use mutt, and if you forward a message in

Re: method to discard email with body containing gmail address

2021-11-06 Thread Wietse Venema
li...@lazygranch.com: > Reply-To: jm84450...@gmail.com Use header_checks (not body_checks) if you want to block that. Still, I would be concerned about rejecting legitimate email. Wietse

Re: method to discard email with body containing gmail address

2021-11-06 Thread li...@lazygranch.com
Your comments on the regex are useful since I didn't consider email addresses with delimiters though none of the spam does at the moment. Note a few of the spammers put their email address in the subject line. Maybe that should be my first attempt at discarding. I can't think of a non-spammer

Re: method to discard email with body containing gmail address

2021-11-06 Thread Rob McGee
On 2021-11-06 06:15, li...@lazygranch.com wrote: Most of my spam contains a gmail address to reply to the spammer. I would like to discard email whose body contains a gmail address. Since discarding mail could get ugly, I would hope someone on the list can eyeball my plan. Indeed it is ugly.

method to discard email with body containing gmail address

2021-11-06 Thread li...@lazygranch.com
Most of my spam contains a gmail address to reply to the spammer. I would like to discard email whose body contains a gmail address. Since discarding mail could get ugly, I would hope someone on the list can eyeball my plan. I added body_checks = pcre:/etc/postfix/body_checks to main.cf. I made