SpamAssassin is a computer program released under the Apache License 2.0 used for e-mail spam filtering based on content-matching rules.

learn more… | top users | synonyms

1
vote
3answers
1k views

Moving automatically spam messages to a folder in Postfix

My problem is that I want to automatically to move spam messages to a folder and not sure how. I have a linux box giving email access. MTA is Postfix, IMAP is Courier. As webmail client I use ...
1
vote
2answers
69 views

spamassassin setup how to make sure X-Spam-Status is allways written

I just found out that spamassassin skips checking for email bigger than 250KB by default. Due to a coding bug, I check for the X-Spam-Status header in incoming emails and did not take into account the ...
1
vote
2answers
592 views

Create a blacklist

I have installed postfix, amavisd, spamassassin and clamd. I want to specify a sender to blacklist. How can I do this?
1
vote
1answer
815 views

why my mails from zimbra server to yahoo goes in to spam folder

I just configured zimbra mail server but mail from my zimbra to yahoo, hotmail etc going into there spam folder any suggestion??? bellow is header part from yahoo of that mail X-DSPAM-Result: ...
0
votes
2answers
343 views

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, ...
1
vote
1answer
565 views

How to debug spamassassin running via Plesk 8.4

I am helping someone with their Plesk (8.4) based Linux server, which runs qmail and spamassassin. Spam Filter is configured via the control panel and seems to be running on the server. The ...
1
vote
2answers
1k views

Spamassassin on 1and1 dedicated server

I have a dedicated server on 1and1. When I send a mail from myself I get my mail like SPAM. The headers of the mail are: 1.0 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry 3.1 ...
2
votes
2answers
278 views

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, ...
5
votes
1answer
1k views

Stop Outgoing Spam Already Tagged as Spam

I run a Postfix server with Amavis and Spamassassin among other things. Postfix receives mail from the outside world and passes it on to Amavis. Amavis has Spamassassin rate the mail, and then tags it ...
5
votes
2answers
866 views

Workaround SpamAssassin Y2K10 Bug (Mac OS X Server)

Bug Report: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269 It turns out that SpamAssassin is adding a score of 3.2 (FH_DATE_PAST_20XX) to all email going through my mail server (Mac OS X ...
1
vote
1answer
1k views

How to tell spam-assassin not to quarantine tagged emails?

I'm running my own postfix mail-server at home with a setup similar to this one. I opted to deliver tagged spam via dovecot to the user's spam-mailbox, so that they can review tagged emails if they ...
0
votes
1answer
452 views

Train spamassassin with POP3 or copied emails

I am still new at this so be gentle. I have setup a server with postfix, dovecot, apachce2, PHP5, PHPmyadmin, spamassassin, clamav, amavis. Now to train spamassassin apperently I need to use IMAP. ...
1
vote
2answers
268 views

Why are default spamassassin rules not being applied to emails we generate?

My company uses a standalone spam-assassin install to test marketing emails, however, mail originating from us does not seem to run the full gamut of test. For example, Spam assassin has a default ...
0
votes
2answers
341 views

spamassassin --lint and spamc return different scores

I'll keep this short and sweet. spamassassin --lint -D < email_message_to_test.eml Returns: [22154] dbg: check: is spam? score=4.205 required=5 Which is an entirely reasonable score, it is in fact ...
0
votes
3answers
427 views

Testing promotions against spamassassin, scores lower than expected

I recently setup a local installation of spam assassin for testing promotions as we want to catch any spam false positives before we mail our customers (This email is opt-in). We even added several ...
1
vote
2answers
2k views

Rewrite Email Subject

Is there a way to rewrite a subject of an Email on the receiving MTA (presumably at the Spam Filtering stage). An example would be if giving Email accounts to young children where certain words need ...
0
votes
1answer
140 views

Most simple, easy to service and update DIY spam/virus filtering SMTP gateway

I run email for several companies, and I want to set up my own SMTP gateway to migrate their domains off hosted spam filtering services. I wanted an opinion from someone who actually runs email ...
0
votes
1answer
862 views

plesk 9 spamassassin server wide blacklist via cron?

we're running ubuntu 8.04 LTS and plesk 9.2 our simple task is to set up a periodic black list for spamassassin, e.g. using this script .. #!/bin/sh #! Script by AJR to update local spamassassin ...
0
votes
1answer
333 views

Message-ID contains multiple '@' characters

I am looking at my server's spamassasin and have stumbled across the "problem" that my outgoing email sends out its own X-Report and X-Score in the header (programs used are Outlook 2007 as client and ...
3
votes
2answers
4k views

amavis + SA not marking messages as spam

I'm running Postfix + amavis + SpamAssassin. Messages are coming through just fine, and they're getting X-Spam-Score as I would expect, along with X-Spam-Status values, implying that SA is doing ...
0
votes
2answers
1k views

How to forward mail classified as spam by spamassassin to dspam?

i'm using postfix, amavis-new, clamav and spamassassin. Now I'm thinking of having dspam together, and training dspam from data collected by spamassassin. Any possible way to forward mail classified ...
0
votes
2answers
1k views

Site-wide server-side rules in Exchange 2003

I have a mail server that scans inbound email messages with SpamAssassin before passing messages to Exchange 2003. When a message is considered spam, it is marked with a certain header. Is there a ...
0
votes
2answers
177 views

Using spamassassin as an external filter for a web forum

Has anyone tried anything like this? My plan is to do something like this: When a forum post is submitted, instead of immediately saving it to the database, send an e-mail to a reserved account. ...
2
votes
1answer
548 views

Can I remove emails from /var/spool/sa-exim/SApermreject?

I have a lot of emails in /var/spool/sa-exim/SApermreject. Can I remove these emails or will this lead to some kind of nasty spam problem? Or is this just a history of all the emails that were never ...
5
votes
1answer
482 views

Let Postfix handle spam in two ways

I've got postfix setup so that mail coming in from smtpd is automatically filtered through spamassassin (which reinjects it into the mailqueue with added headers) Now I want to do 2 things with ...
3
votes
2answers
1k views

postfix skip spam checks for authorized SMTP

Is there any way to configure postfix to skip spam/antivirus checks for those smtp connections that are SMTP-AUTH'ed? I would like to keep all the standard checks for external smtp traffic, but for my ...
1
vote
4answers
1k views

SpamAssassin trying to read config files under /root/

I have mail gateway servers configured to use MailScanner + Postfix + SpamAssassin as described here, along with MailWatch as a web front end. When sa-learn is run from MailWatch (it's run as the ...
2
votes
2answers
201 views

How is spamassasin called by amavisd-new?

I initially thought amavisd passed incoming email message through to spamassin via the spamd daemon but now the spamd daemon is down on my new test email relay and the messages are still being flagged ...
0
votes
3answers
817 views

why spamc keeps getting me 0/0 when I test it?

on my centos 5 I've installed spamassassin and I want to execute it from php using the command line client. The problem is that each time I run it, I get as result: 0/0 here is how I run it ...
0
votes
3answers
607 views

Run SpamAssassin on virtual_alias in Postfix

Ever since I started using Postfix virtual_alias_maps to forward all my email to gmail, I'm getting a ton more spam than when I delivered the mail locally and used SpamAssassin/spamd to filter it. ...
1
vote
2answers
4k views

Can I enforce mail rules server-side in Exchange 2007?

I have a client who gets a TON of spam to their public IP. I have put a Linux box running exim and spamassassin in front of it, and a bunch of Outlook rules to move mail into the Junk Email folder ...
10
votes
5answers
6k views

How to minimise SpamAssassin (spamd) memory use

I'm using SpamAssassin on Debian (the default configuration with Pyzor, AWL and Bayes disabled, and sa-compile enabled), and each of the spamd child processes consume around 100 to 150MB of memory ...