Re: if/endif header_check

2022-01-17 Thread Bill Cole
On 2022-01-17 at 11:12:50 UTC-0500 (Mon, 17 Jan 2022 11:12:50 -0500) Jim Popovitch is rumored to have said: I'm trying to get a complex header_check to work, and unfortunately it isn't. Right, because header_check cannot do what you're trying to do, as documented. The 'if' construct in hea

Re: if/endif header_check

2022-01-17 Thread Noel Jones
On 1/17/2022 10:12 AM, Jim Popovitch wrote: Hello! I'm trying to get a complex header_check to work, and unfortunately it isn't. :( I started in #postfix and figured I would follow up here too. The goal is to put mail on HOLD if it is not spam and is destined for 2 role accounts. Any help i

if/endif header_check

2022-01-17 Thread Jim Popovitch
Hello! I'm trying to get a complex header_check to work, and unfortunately it isn't. :( I started in #postfix and figured I would follow up here too. The goal is to put mail on HOLD if it is not spam and is destined for 2 role accounts. Any help is much appreciated. ~$ cat header_checks.pcre

Re: if endif

2013-10-13 Thread Wietse Venema
g...@holiness.ch: > If I understand correctly, without the if-endif conditional, the only way to > exit header_checks before reaching the end of the file is if a REJECT action > is matched. There's no way for me to say "This email is from my wife, so > accept the email

if endif

2013-10-12 Thread gle
Wietse, Thank you for adding if-endif to header and body checks. A report on About.com states that in 2010 there were about 294 billion emails sent per day, 90% of which were spam. With numbers like that, trying to go through and blacklist individual IP addresses or users is a waste of time