Am 18.06.2014 15:49, schrieb Jürgen Herrmann: > I have a problem with the following pcre table: > > if !/X-Spam-Level:.*\*{7,}/ > /X-Spam-Flag:.*YES/ HOLD > endif > /X-Spam-Level:.*\*{7,}/ DISCARD > > the HOLD part of it is executed. the DISCARD part never matches. > > I also had a version with > /X-Spam-Level: \*{7,}/ > instead of > /X-Spam-Level:.*\*{7,}/ > > and also the following version does never discard any mails: > > /X-Spam-Flag:.*YES/ HOLD > /X-Spam-Level:.*\*{7,}/ DISCARD
are you aware that you *must not* answer with 250 OK and the silently discard messages? the spamfilter belongs *pre-queue* and you have to REJECT spam, after you receive it and answer with "250 OK" you have to deliver the message - period http://wiki.apache.org/spamassassin/IntegratePostfixViaSpampd "and the ability to use before-queue content filtering" fix your setup and get rid of the broken pcre-after-queue idea