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

3
votes
1answer
2k views

Is there a reason why DKIM signs every mail twice [closed]

I've configured my postfix/amavisd-new/spam-assassin setup after this tutorial https://help.ubuntu.com/community/Postfix/DKIM. But now the problem is that all mails I send are double signed with two ...
5
votes
6answers
2k views

Prevent outgoing spam

What are some ways to prevent spam from leaving your servers should a hosting account get compromised? Have a bunch of clients on a server with cpanel but wondering if there was a way to just ...
-1
votes
1answer
253 views

exim or dovecot plugin or filter to put body preview to header [closed]

Is there any filter which would allow me to have the plain or html text body synopsis (preview) in the mail header as well? Like SpamAssassin does for spam emails (it inserts X-Spam-Report header with ...
0
votes
1answer
633 views

SA with or without amavis-new - whats faster?

Currently i have working setup of postfix with virtual users which uses amavis (with SA and clamav) to filter messages. The problem is, i need to allow every user to be able to adjust their SA ...
-3
votes
1answer
61 views

Skip spamassassin processing if a certain email is present

Is there a way to tell Spamassassin to skip a mail, in case a certain header is present, so it leads to an unmodified output of the original mail? So that no Spamassassin-Headers are added, no ...
0
votes
1answer
2k views

Why does SpamAssasin mark emails as SPAM due to RCVD_IN_PBL RBL?

My email is being marked as SPAM by SpamAssasin. The problem is score 3.3 (among others): 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL * [212.95.7.48 listed in zen.spamhaus.org] I ...
0
votes
1answer
359 views

Exim and spamassassin custom rule

i have exim and spamassassin (used by exiscan) installed and running, but i want to add custom rule which will add some points to emails if "to" and "envelope-to" are not identical. I added following ...
1
vote
1answer
717 views

E-mail address spoofing by spammers - how to block it in Postfix/Spamassassin?

I run a Postfix mail server using Spamassassin as after-queue filter. It works quite well, but sometimes I get spam from the network that has correct MAIL FROM: address, but also contains, in DATA: ...
1
vote
1answer
84 views

How to whitelist a domain while blocking forgeries using that domain?

How do you deal with the case of: wanting to whitelist a domain so that emails from it won't get eaten, but not having emails forged to appear to be from that domain get bogusly whitelisted ...
0
votes
1answer
916 views

Amavis and SpamAssassin won't mark junk email as spam in second domain

I'm currently setting up amavis and spamassassin with postfix. So far SpamAssassin blocks and bounces Spam. If I set $final_spam_destiny to D_PASS the mail gets through, but the $sa_spam_subject_tag ...
1
vote
2answers
143 views

DNS: MX listing points to google apps and A listing to my own server. Can I send emails from my own server without being classified as spam?

Linux DNS networking question: If an MX record points to IP address 111.111.111.111 and A record of a domain points to 222.222.222.222, can I still send emails from 222.222.222.222 on the behalf of a ...
4
votes
7answers
1k views

Email Deliverability on Yahoo is very poor. Any suggestions please? [duplicate]

All other ISPs (Google, AOL, Hotmail) are fantastic, hitting 98-100% in the inbox. Yahoo is very random, and lately our deliverability has dropped drastically. All IPs are senders certified by Return ...
1
vote
1answer
472 views

Postfix looping back to itself for a relay domain

I cannot send email to anyone at a certain domain, except to a particular recipient. Here is what I am seeing in the quarantine/cache logs for an email sent by Maia (a quarantine program) to a user ...
0
votes
2answers
1k views

SpamAssassin sending legit emails to spam, despite sender being whitelist

I can not for the life of me figure out why emails from a "white-listed" sender are still getting very high scores from SpamAssassin and not being delivered. The email headers are: From ...
1
vote
1answer
3k views

Any way I can send Spam to my mail perimeter in a controlled way for testing?

I just set up a Postfix/Procmail/SpamAssassin server but I am not convinced that it is really doing much filtering. I have gotten it to recognize the SpamAssassin special Spam code that produces a ...
1
vote
1answer
192 views

Configure spamassassin to mark very similar messages as spam

Users on my server have been receiving spam, consistently, for some time now. I have most of spamassassin's plugins enabled, and I have made sure to enable verbose logging, where I can see that all of ...
1
vote
3answers
6k views

Postfix + procmail - delivery fails because “can't create user output file” - on CentOS 6.2

I verified that my postfix installation / relaying setup worked. Now I am having trouble with procmail. I have it wired to postfix with the following command: mailbox_command = /usr/bin/procmail -f ...
8
votes
1answer
2k views

I need advices: small memory footprint linux mail server with spam filtering

I have a VPS which is originally destined to be a webserver but some minimal mail capabilities are needed to be deployed as well, including sending and receiving as standalone server. The current ...
0
votes
1answer
61 views

Spamassassin disable spam information raports

I use SAWin32 (AKA SpamAssassin for Win32) with Microsoft Exchange 2000. My users are receiving the following information concerning incoming messages that may be spam: "This mail is probably spam. ...
3
votes
1answer
2k views

Spamassassin? update channels?

I know this was asked here: but things seem to have changed. It appears that the old SARE rules are listed as broken The recommended SOUGHT channels seem to be down and DNS is broken for ...
3
votes
1answer
1k views

Quarantined mail retrieval from SpamAssassin/ClamAV/Postfix

We run a mail relay service in a multi tenant deployment for clients. We started doing this because commercially available relay services were silly money when compared to the costs of building one ...
5
votes
3answers
6k views

Why does gmail flag my server emails as spam?

I recently moved my server to a new slice at slicehost and since, gmail has been flagging my email as spam. I have added domain keys, created a SPF record, have reverse dns setup, and my ip is not ...
2
votes
1answer
390 views

What is a valid target for Spam Assassin's sa-learn?

I'd like to train my Spam Assassin with some spam that it's missed, however I'm confused. With sa-learn I could target: raw message text-message (body) html (body) What one of those options is ...
0
votes
2answers
1k views

In Exim, is RBL spam rejected prior to being scanned by SpamAssassin?

I've recently been battling spam issues on our mail server. One account in particular was getting hammered with incoming spam. SpamAssassin's memory use is one of our concerns. What I've done is ...
0
votes
1answer
973 views

spamassassin via procmail: .procmailrc moves spam messages, but /etc/procmailrc doesn't

I am trying this example to set up spamassassin via procmail globally. It successfully adds the X-Spam headers, but it does not move messages to the spam mboxes. However, using this example locally, ...
0
votes
1answer
469 views

Spamassassin filter mail with attachment

I would like to add a spamassassin rule based on if a message coming from a particular sender has an attachment or not. Is there a way to filter messages from a certain sender so that mails without ...
3
votes
2answers
2k views

Strip SpamAssassin headers before processing

I have a server running cPanel/WHM with exim and SpamAssassin. I've been noticing an issue where emails coming in with forged spamassassin headers bypassing some of the filtering. I want to strip out ...
1
vote
2answers
953 views

Spamassassin/Exim (incorrectly) blocking mail from localhost as spam

On our server we've got a problem with spamassassin/exim4 blocking email from our mailing list software as spam. This because (usually) the headers the software (ecartis) adds add points to make it go ...
6
votes
2answers
5k views

Recommended way to implement Postfix 'before-queue' SpamAssassin filtering?

After some discussions with colleagues and the relevant depts. in my office, I have come to the conclusion that for my Postfix server, I must implement a 'before-queue' filtering. The reason is that ...
0
votes
1answer
62 views

Moving spam from filter to mail server

I was wondering if its possible to take messages quarantined by a Spamassassin box and move it to the users spam folder residing on an email server. In my case I would want to move mail from an ...
1
vote
1answer
3k views

Mailscanner and amavisd-new comparison

I'm going to implement a mailfiltering gateway for my company. I'm going to use Postfix, with a PostgreSQL back-end. The question would be: how to best implement the antispam measures. Mailscanner ...
2
votes
1answer
1k views

SpamAssassin doesn't appear to be 'learning' from forwarded examples of spam

I have spamtrap@ and hamtrap@ addresses set up on my mail server and forward examples of spam to the spamtrap address. I was hoping that after a few examples, SpamAssassin would 'learn' to identify ...
0
votes
2answers
100 views

OS X Server script to archive (or empty) a users mailbox every morning

I have a requirement (SpamAssassin 'training') to archive (or delete) two user's (users are junkmail and notjunkmail) inboxes at a given time every day if there is anything in them. Can anyone help ...
0
votes
1answer
174 views

Spamassassin does not work with virtual emails

I have a mailserver running with postfix/spamassassin/amavis/dovecot/mysql... under debian squeeze and all seems to work fine, except one thing: Email forwarder (virtual aliases) never gets scanned by ...
0
votes
1answer
127 views

Lower SpamAssassin scores when certificate verification fails

I’ve noticed that I’m getting junk mail from Norwegian companies that send from servers that Postfix says failed certificate verification. Is it possible to give these messages a lower spam score with ...
0
votes
1answer
312 views

Postfix :: redirect spam mail to different mx transport?

Postfix with spamassassin. Acts as an anti-spam gateway for a domain. Scans and then relays. I want to take mail that has been tagged as spam by spamassassin, and send it to a different mail server ...
1
vote
1answer
961 views

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 ...
3
votes
2answers
3k views

Bayesian filtering for Exchange 2010

So here's the deal. Basically, I am looking for a convenient way to get spam from my Exchange 2010 mail server to my spam filter/proxy (whatever you want to call it) in a mail format for ...
1
vote
1answer
494 views

SpamAssassin: Update Rules Results in Ignored Local.cf [closed]

I am trying to update SpamAssassin's config on my server, since for whatever reason it thinks that DNSWL is whitelisting every incoming mail message. I put adjusted scores in /etc/mail/local.cf, but ...
-1
votes
1answer
547 views

Spamassassin AWL: From: address is in the auto white-list

I am not sure what does this flag means in Spamassassin score checking? My test returned "1 of 5" and mentioned this: 1.0 AWL AWL: From: address is in the auto white-list
2
votes
1answer
877 views

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

Tell Postfix not to deliver mail when SpamAssassin isn't running

I have Postfix configured to filter mail using the SpamAssassin spamd daemon. I noticed recently that some spam messages would be delivered to my inbox with no SpamAssassin headers added. I tracked ...
0
votes
1answer
945 views

Skip Spamassassin for internal mail

SpanAssassin has flagging internal mail between our users as spam, rather than adding our IPs or domains to SpamAssassin's whitelists I thought it would be best to skip SA and ClamAV all together for ...
3
votes
1answer
286 views

Force users to use BCC

I want to force users sending mail to my server to use BCC (we're getting a lot of internal spam created by mailings to 30+ mailing lists which then reply to all). I thought spamassassin could be a ...
2
votes
5answers
8k views

Open Source or lower-cost alternatives to Barracuda Spam Filter

I'm aware of SpamAssassin-based solutions, but I'm looking for a free or low(er) cost spam filtering solution that's similar in functionality to the Barracuda Spam Filter. The Barracuda works well, ...
0
votes
1answer
58 views

amavis consider catchall as unknown

I'm running sendmail with amavis + amavis-milter on SERVER "A". SERVER "B" is working behind SERVER "A" which holds multiple domains. Some of the domains having catchall accounts for unknown users. ...
1
vote
3answers
253 views

What is the difference for spamassassin between using sa-learn and not using it?

I have a question. Whether the use of sa-learn to teach spamassassin about email spam and ham it matter? How if I do not use it because I do not have a sample of spam or ham in my mail server?
4
votes
1answer
880 views

How to stop backscatter email spam

I know I can't do anything about people spoofing my email address, but what can I do about all those annoying bounce-mails? I get 5-10 "Undeliverable mail" a day, but I don't know how I can filter ...
2
votes
2answers
778 views

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 ...
1
vote
2answers
2k views

spamAssassin in plesk is not filtering spams

From couple of weeks ago, all our customers has start receiving spam emails. It seems like spamAssassin is not working as it should work. What could be the reasons?