Am 17.02.2015 um 17:55 schrieb Viktor Dukhovni:
On Tue, Feb 17, 2015 at 05:51:07PM +0100, li...@rhsoft.net wrote:
Is it intentional that if a message hits more than one Regex that it creates
also more than once BCC like below? it's little bit surprising because in
all known cases the first rule hit's and the evaluation of the file is
stopped
On a per-header line basis. Postfix header checks are *simple*
not sure how the word simple is meant in the context
"it's intentional" or "it's not intentional" would be clearer
simple in the from all are proceeded or simple in the form stop after
the first one hits like OK / DUNNO which is not the case
fact is that both fire:
/^X\-Spam\-Flag: Yes/ BCC spamfil...@rhsoft.net
/^X\-Spam\-Report:.*(BAYES_50)/ BCC spamfilter+inbox...@rhsoft.net
Feb 17 17:40:50 localhost postfix/spamfilter/smtpd[14219]:
3kmnxG0DTzz2W: client=****
Feb 17 17:40:50 localhost postfix/cleanup[14221]: 3kmnxG0DTzz2W:
message-id=<*****>
Feb 17 17:40:50 localhost postfix/cleanup[14221]: 3kmnxG0DTzz2W: bcc:
header X-Spam-Flag: Yes from ****; from=<****> to=<ha...@rhsoft.net>
proto=ESMTP helo=<****>: spamfil...@rhsoft.net
Feb 17 17:40:50 localhost postfix/cleanup[14221]: 3kmnxG0DTzz2W: bcc:
header X-Spam-Report: ??* -0.0 CUST_DNSWL_2 RBL: list.dnswl.org (No
Trust)??* [192.155.81.197 listed in list.dnswl.org]??* -0.2
RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)??* [192.155.81.197
lis from ****; from=<****> to=<ha...@rhsoft.net> proto=ESMTP
helo=<****>: spamfilter+inbox...@rhsoft.net
Feb 17 17:40:50 localhost postfix/qmgr[14136]: 3kmnxG0DTzz2W:
from=<****>, size=4860, nrcpt=3 (queue active)
Feb 17 17:40:50 localhost postfix/lmtp[14222]: 3kmnxG0DTzz2W:
to=<ha...@rhsoft.net>, relay=127.0.0.1[127.0.0.1]:24, delay=0.14,
delays=0.01/0/0/0.12, dsn=2.0.0, status=sent (215 Recipient
<ha...@rhsoft.net> OK)
Feb 17 17:40:50 localhost postfix/lmtp[14222]: 3kmnxG0DTzz2W:
to=<spamfilter+inbox...@rhsoft.net>, relay=127.0.0.1[127.0.0.1]:24,
delay=0.14, delays=0.01/0/0/0.12, dsn=2.0.0, status=sent (215 Recipient
<spamfilter+inbox...@rhsoft.net> OK)
Feb 17 17:40:50 localhost postfix/lmtp[14222]: 3kmnxG0DTzz2W:
to=<spamfil...@rhsoft.net>, relay=127.0.0.1[127.0.0.1]:24, delay=0.14,
delays=0.01/0/0/0.12, dsn=2.0.0, status=sent (215 Recipient
<spamfil...@rhsoft.net> OK)
Feb 17 17:40:50 localhost postfix/qmgr[14136]: 3kmnxG0DTzz2W: removed