>"li...@rhsoft.net"
>no but the regexp is entirely wrong
>
> the subject starts with [SPAM] so no need for .*
>{5} - what is that supposed to do?
>avoid a * in the action for safety
>
>/^Subject: \[SPAM.*/  DISCARD SPAM

Strongly disagree. Regexp is 100% correct because:

1. postmap -q "/^Subject:.*\*{5}SPAM\*{5}/"  regexp:/etc/postfix/spamdiscard   
returns no issues

2. {5} substitutes the \*\*\*\*\* because I have 5 ***** in front and after
the word SPAM, not 5 [[[[[

3. The dot with the wildcard or asterisk .* match any number or any
character that goes in front, like your mentioned [, my *, or + and so on.
Thus I do not have to explicitly mention each character separately including
[ * + and so on.










--
View this message in context: 
http://postfix.1071664.n5.nabble.com/header-checks-not-working-tp36845p70643.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to