Topic: spam problem

i havent got any spam problem since yesterday. Is it possible to quarantine spam by subject.

sorry im beginner


Get fast and professional support from iRedMail developers:


Re: spam problem

iRedMail ships SpamAssassin, you can define a high score for this mail subject in SpamAssassin, then it will be considered as a SPAM, Amavisd will quarantine it.

You can find many examples in SpamAssassin. e.g. 72_active.cf and 50_scores.cf (/usr/share/spamassassin/72_active.cf, 50_scores.cf):

header DRUGS_HDIA       Subject =~ /\bhoodia\b/i
score DRUGS_HDIA 2.529 2.501 2.483 2.697 # n=2

You can define your own in /etc/mail/spamassassin/local.cf, like below:

header SPAM_HEADER       Subject =~ /\bbalabalabala\b/i
score SPAM_HEADER 100


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee