[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Re: if endif
From: wietse () porcupine ! org (Wietse Venema)
Date: 2013-10-13 12:14:58
Message-ID: 3cyMKZ63x5zjymp () spike ! porcupine ! org
[Download RAW message or body]
gle@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 and exit header_checks immediately":
According to http://www.postfix.org/CONTENT_INSPECTION_README.html,
header_checks and body_checks implement light-weight content
inspection. If you have a spam problem, use a real content filter.
Most header_checks and body_checks actions say "do X and inspect
the next input line". Only a few actions are "final", including
DISCARD and REJECT.
Also as documented, if-endif have line scope, not message scope.
Wietse
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic