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
1answer
1k views

Spamassassin: sa-update failed for unknown reasons, daily error, How to fix?

For a while now I'm getting the following error-mail sent to my root account on my server. This is a fail occurring every time on the daily spamassassin update. My setup followed the Ars Technica ...
1
vote
1answer
55 views

Determine if an e-mail contains a certain number of a specific character

I am hoping to write a SpamAssassin rule that will match if an e-mail contains over n of a specific character in the body of the message. Not necessarily continuous. So for example, if there were ...
1
vote
1answer
622 views

SpamAssassin with dovecot-antispam training

I'm trying to get dovecot-antispam working with SpamAssassin' sa-learn. This is my Dovecot configuration: antispam_backend = pipe antispam_trash = trash;Trash;Deleted Items; Deleted Messages ...
1
vote
1answer
500 views

Spamassassin rule to compare return-path and from fields

Recently I noticed a recurring pattern in some of the spams I get. The return-path and from headers always have the same structure. Let me explain with an example: Return-path: ...
2
votes
1answer
120 views

How to stop a loop I have introduced in a transitional postfix-spamassassin-dovecot setup

I am at the early stages of the steep email handling learning curve, gentleness appreciated :-). I have a setup with postfix and dovecot. I am trying to migrate my email server (domain example.com) ...
1
vote
1answer
199 views

Mails not being received. status=deferred (lost connection with 127.0.0.1

I have a MiaB box with about 30 email boxes. This errror pops up in /var/log/mail.err but with no other information. WARNING! Error in process_request eval block: /usr/sbin/spampd: write error ...
0
votes
0answers
128 views

E-mail sent from mobile version of Zimbra is marked as Spam

yesterday I sent an e-mail from my company e-mail account to another company account, using Zimbra webclient on my smartphone. Unfortunately it was marked as SPAM, so I got task to find out why. Here ...
2
votes
1answer
45 views

Sane Spam Strategy [closed]

Right now I'm using spamd to score spam and then procmail to put it in user's .Spam Maildir folder and then manually running sa-learn on .LearnAsSpam and .LearnAsHam and then also manually just ...
1
vote
0answers
35 views

SpamAssassin : main.cf score if test not passed / not defined

I can set scores influences for different test passed in main.cf for spamassassin. Like if I set this variable : score URIBL_BLOCKED (3.5) This means that if mail marked is URIBL_BLOCKED for ...
1
vote
1answer
809 views

Why does adding /etc/mailname prevent amavis from adding X-spam flags?

Whenever I restarted my amavis process I encountered the message: Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory amavisd-new. I decided to add an ...
1
vote
1answer
440 views

How to tell if razor is running?

I have a mailserver which is using amavis to do the spam testing (through spamassassin). Now I wanted to use razor and pyzor as well. I installed them and did the following: # su - amavis -s ...
1
vote
1answer
171 views

How to config user_prefs (SpamAssassin) individually per user in Redis DB?

I'm going to implement mail gateway with FreeBSD 10.1. So, I installed Postfix, Amavisd, Clamav, Spamassassin, Procmail (for filtering spam from maildir to spam folder), Bayes with Redis database. I ...
3
votes
1answer
124 views

Spamassassin filter based on destination domain

I am trying to configure my SpamAssassin (running in combo with amavisd) in order to lower the spam score limit assigned to emails directed to a specific domain (lower required_score only for incoming ...
1
vote
1answer
376 views

Spamassassin Systemd Error

I am getting an error when trying to start spamassassin (for my postfix server). I think this error might be related to systemd as it worked before I installed the patch (I think). I followed the ...
-1
votes
1answer
104 views

SpamAssassin discards messages but it should not [closed]

On my email server I have configured SpamAssassin to do a header-rewrite and add "[SPAM]" to the subject of messages if they are identified as spam. The /etc/spamassassin/local.cfis: rewrite_header ...
1
vote
1answer
74 views

relearn bayes autolearned spam when mails already processed by exchange

I'm using postfix with amavis and spamassassin to filter out spam before relaying everything to an exchange server. Regularly I got mails which weren't catched by spamassassin, even worse, they were ...
3
votes
1answer
857 views

Spamassassin RDNS_NONE matches, but there is a RDNS

I got a a little problem - spam assassin's RDNS_NONE-rule matches on my outgoing mails but there is a RDNS set for all hosts, that are in the delivery-chain. If I send an Email to ...
0
votes
3answers
709 views

Configuration of spamassassin on Fedora 21 with Postfix

I was unable to find any help anywhere on installing spamassassin on a modern Fedora system. All the advice out there is old and doesn't apply - so far as I found anyway. The official documentation ...
1
vote
2answers
221 views

Automatically rescan email with SpamAssassin after it has been received

For the past months, the amount of spam I've been receiving has been driving me crazy. Despite running SpamAssassin (with RBL checks) on my Exim4 mailserver, a lot of it has been finding its way to ...
1
vote
1answer
62 views

Spamassassin cannot write files to disk

I am running spamassassin on Ubuntu 14.04 as root. When I am calling any of the methods, such as Check or ReportSpam, I am also passing in another user that the check should be run as. However I get a ...
0
votes
1answer
69 views

Blocking spam with SpamAssassin [duplicate]

I have a server that runs websites and exim for e-mail. I've added countless RBLs including barracuda to try and cut back on incoming spam. However, they still keep coming in. The clients use ...
0
votes
1answer
307 views

Amavis spamassassin per-user configuration without using a database

Is it possible to configure amavisd-new to let a per-user configuration for spamassassin without using a DBMS? I have a home directory for each user and would like to store their SA preferences and ...
0
votes
1answer
1k views

Spamassassin is conflicting with postifx

I am trying to install spamassassin. But it seems to be conflicting with POSTFIX. When I restart spamassassin I get the following error code: /usr/sbin/postconf: fatal: file /etc/postfix/master.cf: ...
0
votes
1answer
144 views

How filter catchall email account based on recipient address [closed]

// Background info I am building a chrome plugin that forwards private messages from websites to your email and allows your email replies to be returned through the various sites private message ...
6
votes
1answer
1k views

amavis cronjob throwing an error out of nowhere

Can someone explain why amavis cronjob is suddenly trowing the following error? Cron <amavis@bee> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync rules: ...
1
vote
1answer
405 views

How to redirect spam to a different email address (spamassassin/postfix)

I have setup postfix and spamassassin on Ubuntu 14.04. I would like to set it up such that if the score of a message is above 5.0, it goes to one email account on my mailserver. If it's less that ...
0
votes
2answers
738 views

Postfix configuration with Dovecot, MySQL, and SpamAssasin

I am relatively familiar with Debian and have been trying to setup a mail server with this tutorial. Now i have gone through all the comments provided on the website to try route out the problem but ...
1
vote
3answers
93 views

Order emails from online shop not delivered due to SPF errors

I have my domain served by two servers with different IP addresses: one for main website and another for online shop. When a customer places an order, among other things, an email is being sent to an ...
-1
votes
1answer
159 views

Error Message from DnsResolver.pm after removing IPv6

After removing IPv6 (to get KVM working) from /etc/network/interfaces, I'm getting lately the following error: error creating a DNS resolver socket: Network is unreachable at ...
2
votes
1answer
370 views

SPF issue with SpamAssassin

I have an internal management app for a small company, written in Python and running on a Linode VPS, with which users can send occasional emails to their customers. The emails are quite ...
-1
votes
1answer
341 views

What Does 'HELO_LH_HOME' Means In Spamassassin's result?

I'm trying to send emails from PHPMailer using php on my IIS server. But My emails are going to spam, So I've used spamassasin to detect what is wrong? and here is the result: pts rule name ...
0
votes
1answer
72 views

is there a way to discard all mail sent to a user

I started to get some spam mails to a unique user, and that user does not exist in our system. so I want that all mail for that nonexistent user gets discard. is this possible? [update] my ...
0
votes
1answer
247 views

URIBL_BLOCKED on Ubuntu 14.04 Server with working Dnsmasq

I've set up a small mail server which includes Spam Assassin. Everything seems to work great except one. SA docs suggest installing a caching DNS server to keep some RBLs from blocking the server over ...
1
vote
2answers
2k views

URIBL_BLOCKED despite caching nameserver

I run a mail server for two people, Ubuntu 10.04 LTS. I have Spamassassin running via Amavis/Postfix. In many messages, I am getting URIBL_BLOCKED in the X-Spam-Status headers, which indicates that ...
0
votes
2answers
345 views

Exim - block incoming mail from blacklisted IPS only

I would like to check for blacklists only for incoming e-mail. I have users who usually get dynamic IP's which are blacklisted so they are not able to send the e-mail if I turn the blacklist option ...
1
vote
1answer
2k views

Spamassassin DKIM DNS issue

Here is the setup where I encounter my issues : My computer has the IP 10.6.2.5. There is a DNS server ns.isp6.lab with the IP 10.6.2.4 (I can reach it). My computer has Postfix + Dovecot + ...
1
vote
0answers
71 views

Spamassassin not respecting my blacklist

I've tried putting my blacklist_from and whitelist_from lines in ~/.spamassassin/user_prefs and in /etc/spamassassin/local.cf, but they appear to be ignored. This is from postfix's master.cf: smtp ...
0
votes
1answer
287 views

SpamAssassin filtering by Exim 4 with virtual user preferences

I would like to configure spam filtering with exim's built-in spam filter support in acl_check_data config section. The piping, exim header modification (to store result) works well. As well as ...
1
vote
1answer
467 views

Postfix/spamassassin incoming mail not being filtered, but outgoing is

I have what I hope is a fairly normal home postfix setup. I fetch POP3 mail using fetchmail, which passes on to postfix via /usr/sbin/sendmail. In postfix's master.cf I added a spamassassin service, ...
1
vote
2answers
417 views

Is there a way to whitelist and address or domain in Postfix's helo_restrictions?

I'm using postfix helo_restrictions to blacklist some spam leaning domains. One of those is a service that provides email service to people who want email addresses with their domains, but don't want ...
-1
votes
1answer
300 views

Client host rejected: cannot find your hostname + SMTP

I have a VPS configured with dovecot. Now for some of the mails that I send are rejected with the following error: Any Clues?
2
votes
2answers
1k views

Spamassassin filter systematically produces negative (ham) scores for spam messages

I have problem with lots of spam. My server setup is VPS with CentOS 6.5 and Dovecot+Postfix+Spamassassin. Here is source of one of the messages: Return-Path: <nancy_mitchell@tagbook.co.nz> ...
1
vote
0answers
653 views

RDNS_NONE from spamassassin result, when it should be positive

When trying to do a spam test on mail-tester.com, SpamAssassin is giving me RDNS_NONE result. Can't quite figure out why! The result I get: -1.274 RDNS_NONE Delivered to internal network ...
4
votes
1answer
2k views

Enabling Bayesian filter with amavisd-new + Spamassassin

I run a Postfix mailserver on CentOS, and am trying to enable Spamassassin's bayes filter, but I seem to be missing something. We're running amavisd-new 2.9.1: Name : amavisd-new Arch ...
0
votes
1answer
230 views

Usefull to enter the same RBL's to Postfix and to spamassasin?

Does it make sense to enter the same RBL's in the postfix config under smtpd_recipient_restrictions and also in spamassasin? Would one not be enough? Thanks!
0
votes
1answer
76 views

Spamassasin: Check mailbox for spam

How can I have spamassasin check a mail folder for spam and move it into a different one. I've been getting a lot of spam recently and started implementing bayesian classifiers. I moved a bunch into ...
0
votes
2answers
4k views

Use postfix and spamassassin packages on CentOS 6 to reject SPAM - without custom users and scripts

Here is what I'm trying at my CentOS 6.5 Linux server: Installed postfix and spamassassin packages Configured Postfix - it works well (I omit details here) Added -x to the SPAMDOPTIONS in ...
0
votes
1answer
253 views

Mails going to spam. Please see the details [duplicate]

My hostname is properly set up. Host file has proper entries. Mail header shows SPF pass. IP is not balcklisted. Mail body is also fine. Only thing don't have is DKIM setup. Now I have got two ...
1
vote
1answer
346 views

Spam - individual user

I have a bit of an issue with a users inbox in that a lot of spam is getting through for him alone. We use Amavis/Postfix and SA in our mail setup. Config setup like this: Config: ...
2
votes
2answers
196 views

How does amavis talk to spamassassin?

I'm going through all the amavisd-new config files, and I can't find anything that tells amavis to talk to spamassassin/spamd to get a spam score. The reason I ask is because I'd like to swap out ...