Sorry, I forgot.

I'm using postfix, amavisd, spamassassin

In my local.cf I have insert these lines like Matt Kettler told me.

header BANNED_SUB1      Subject =~ /viagra/i
score BANNED_SUB1       100

Unfortunately it doesn't work. When i write myself an email from gmx with the 
subject "viagra" it will be delivered to my mailbox.

Any other ideas?
Greetings
Dirk



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 15. August 2005 15:41
An: users@spamassassin.apache.org
Cc: Fettke, Dirk
Betreff: Re: filter for subjects 

>> 
>> Hi,
>> 
>> I become desperate... I want any mail with specific subject (like:
>> viagra postbank, Adobe...) mark as spam. The Mail should be dropped and
>> not delivered to
>> Mailbox.=20
>> Our Mailserver is only for relaying and filtering for spam and viruses.
>> So there are no local mailboxes.
>> Is there a possibility to do this with spamassassin?
>> It can't be so difficult, or?
>> 
>> Thanks
>> Dirk
>> 

Hi Dirk,

sure spamassassin will help you .... it will even detect these nasty messages 
when the
sender decided to move the offending words into the mail message

You did not say what kind of mail server software you are using

Wolfgang Hamann

Reply via email to