i hv setup header and body_checks for my postfix to filter some content that i dont it. But it doesnt behave the way I want it to :P for example, I need to filter the word "sword" or "sw0rd", then i put this on my body_checks file : /sw?rd/ REJECT The problem is, it rejects all pattern to that word like "swirrrd", "swanythingrd". How do i make it to check for 5 letters only? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 01 October 2007 06:04, Hans Linux wrote:
i hv setup header and body_checks for my postfix to filter some content that i dont it. But it doesnt behave the way I want it to :P
for example, I need to filter the word "sword" or "sw0rd", then i put this on my body_checks file :
/sw?rd/ REJECT
The problem is, it rejects all pattern to that word like "swirrrd", "swanythingrd". How do i make it to check for 5 letters only?
/sw[o0]rd/ -- Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-10-01 at 06:18 +0200, Andreas Winkelmann wrote:
for example, I need to filter the word "sword" or "sw0rd", then i put this on my body_checks file :
/sw?rd/ REJECT
The problem is, it rejects all pattern to that word like "swirrrd", "swanythingrd". How do i make it to check for 5 letters only?
/sw[o0]rd/
However, I think it's better generally to put those tests in spamassassin as custom rules. They are less "blind". - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFHAQCAtTMYHG2NR9URAoBlAJ9vUAvbjjiCV1Jc7So2A2lviW9TtQCgif45 SSxhkU7zCIBCI45Dh18Cgok= =qvU1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andreas Winkelmann
-
Carlos E. R.
-
Hans Linux