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
11 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 ...
0
votes
0answers
12 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: ...
0
votes
0answers
26 views

Server won't boot of crashes after boot [on hold]

My Server (CentOS 6.6) doesn't boot anymore. When I boot the server it hangs on "Starting spamd:". After that I get a series of memory errors... Out of memory: Kill process #### (mysql) score ## or ...
1
vote
1answer
21 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
32 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
19 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
28 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
10 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
46 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
24 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
0answers
44 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
42 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
43 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
29 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 ...
0
votes
0answers
13 views

EXIM alloying in spme despite strict rules [duplicate]

Here is a copy of a header from a recent spam e-mail: Return-path: <Deals---Alert@headja.cricket> Envelope-to: user@domain.tld Delivery-date: Tue, 07 Apr 2015 22:58:51 +0400 Received: from ...
1
vote
1answer
32 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 ...
2
votes
1answer
88 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
171 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
0answers
48 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
27 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
47 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
104 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
190 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
73 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
148 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
369 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 ...
0
votes
0answers
144 views

Installation of Razor failed on Ubuntu

I have a Ubuntu Server 12.04.5 LTS, with SpamAssassin 3.3.2. I try to install Razor2 for SpamAssassin by following this tutorial. Razor version 1:2.85-4build1 is installed with the following command: ...
2
votes
2answers
64 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 ...
0
votes
0answers
85 views

Spamassassin filter when local domain in return path from external sender

We've been noticing a significant amount of spam lately from external domains, but the message has a local domain name or email address in the return path header. Example, a spam message sent to ...
-1
votes
1answer
88 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
140 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
119 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
48 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
128 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
891 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
205 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
695 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 + ...
2
votes
0answers
64 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
189 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
218 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
123 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
138 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
829 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> ...
0
votes
0answers
379 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 ...
3
votes
1answer
713 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
99 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
44 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
2k 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
180 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 ...