문제

I would like to add a rule that blocks all incoming e-mails that contain a certain expression. Ex: 'Test Phrase'. I have added the line rawbody NO_SPAMW /Test" *"Phrase/i but it seems it doesn't work. Can you tell me what is the correct way to parse a space to spamassassin?

Thank you!

도움이 되었습니까?

해결책

You can match a space with \s.

rawbody TEST_PHRASE /test\s*phrase/i
score TEST_PHRASE 0.1
describe TEST_PHRASE This is a test

More about writing custom rules here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top