SpamAssassin is a computer program released under the Apache License 2.0 used for e-mail spam filtering based on content-matching rules.
Questions tagged [spamassassin]
447 questions
2
votes
1 answer
Processing items with SpamAssassin and sa-learn
I have been working on getting SpamAssassin up and running for awhile now and am pretty close to being finished. However, there is one last thing that is grinding away at me that I can't seem to figure out. I have searched around a bit but have…

jmreicha
- 790
- 1
- 16
- 29
2
votes
1 answer
Can SpamAssassin be configured to filter on Subject lines?
Is it possible to configure SpamAssassin to filter incoming email, based on specific words in the subject line? For instance, all emails with the words "orange delight" anywhere in the subject, would be accepted (not marked as Spam).
I know of one…

Cyclops
- 1,169
- 2
- 9
- 13
2
votes
2 answers
Exim4, move all messages with X-Spam-Status set to "Yes" to .Junk folder in user's mail folder
How can I set up a site-wide rule to deliver all messages marked as Spam to the user's .Junk folder? And if the folder doesn't exist, create it. I know I can make a .forward file in the user's home directory, but I'm hoping there's a better way to…

ensnare
- 2,212
- 7
- 24
- 40
2
votes
1 answer
Why does Exchange 2003 silently reject emails with large attachments?
Our environment:
Exchange Server 2003 Standard, single instance, running on Windows Server 2003 Standard.
configured to not send/receive mail with attachments larger than 10 MB.
NDRs are not enabled.
The issue:
When an external sender sends an…

Cypher
- 1,077
- 2
- 17
- 24
2
votes
3 answers
how to stop outgoing email spam
running an email system using roundcube, with about 200 people using it.
99% of them do as they are told and only email clients they have already spoken to, however 1% of them decide to bulk spam bcc emails, which then tripped an aol filter and…
James
2
votes
2 answers
Create a blacklist
I have installed postfix, amavisd, spamassassin and clamd. I want to specify a sender to blacklist. How can I do this?
None
2
votes
2 answers
Spamassassin one-liner to tag & move mail with an X-Spam-Flag: YES to a new directory?
Say you have a directory with tens of thousands of messages in it. And you want to separate the spam from the non-spam.
Specifically, you would like to:
Run spamassassin against the directory, tagging each message with an X-Spam-Flag: YES if it…

ane
- 171
- 1
- 4
- 16
2
votes
1 answer
spamhaus sbl error 3.64.1.98 — blocked using sbl.spamhaus.org; Error: open resolver
For I don't know how long — maybe a decade — I've had the following in my postfix configuration:
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org,
reject_rbl_client blackholes.easynet.nl
Recently, I've had users occasionally get…

philolegein
- 409
- 4
- 12
2
votes
1 answer
SpamAssassin: custom rules and score
For my mailserver, i want do add some custom rules and scores for spamasassin DKIM and SPF checks.
Currently i use following custom settings:
score DKIM_SIGNED 0
score DKIM_VALID -1
score SPF_NONE 1
score SPF_PASS -1
Problem:
there…

Tim Altgeld
- 49
- 1
- 7
2
votes
2 answers
SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix?
The SpamAssassin 2010 bug was supposed to be fixed not long after the bug became widely known, and indeed the offending rule in my /usr/share/spamassassin/72_active.cf has been updated. However, incoming messages are still being tagged by this…

Ibrahim
- 394
- 5
- 12
2
votes
1 answer
Amavis adding SPAM marker in Subject, but mail is not spam
I have a Debian 10 server with posfix, amavis and spamassassin.
Another server managed by me sends every day a mail containing no content and only a gif as attachment. I have whitelisted the from address in the local.cf of spamassassin.
The header…

chmike
- 429
- 2
- 5
- 18
2
votes
0 answers
Setting SpamAssassin's Bayes_path per user and dovecot
I have dovecot, Spamassassin and postfix running. I started to use sa-learn to get better and more precise spam identification and filtering.
I have not set the Bayes_path preference on my local.cf file, thus when I call sa-learn -u…

francisaugusto
- 180
- 10
2
votes
0 answers
Postfix: Disable spam filter for outgoing email
My Postfix/SpamAssassin setup is sending out emails with headers from SpamAssassin.
How do I stop it?
Whitelisting my network/domain doesn't seem to do the trick.
How do I tell postfix, to use the content filter on incoming emails only?

László Stahorszki
- 260
- 1
- 5
- 16
1
vote
1 answer
Spamassasin rule to flag certain MX IPs
I've noticed a flood of spam that is related to the same range of IPs.
All the spam email has different HTML text (which is english but meaningless) and a few embedded pictures (which I block) but actaully is clearly machine generated and the…

Jay M
- 378
- 4
- 11
1
vote
1 answer
how to reject emails with specific subject on Mail server postfix spamassassin?
I have postfix and spamassassin. recently I found an email with subject "XXX" to all company email addresses and aliases.
So I was wondering if I can reject sending emails with specific subject "XXX" to the company @domain.com.
please explain as I'm…

Ahmed Reda
- 21
- 2
- 5