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
797 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
109 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
46 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
193 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
231 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
130 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 ...
0
votes
1answer
61 views

SpamAssassin doesn't filter forwarded mails

I am forwarding emails from an external email account to an account on my own server. SpamAssassin works fine if I just receive mail normally. But all mail thats being forwarded from my external mail ...
0
votes
1answer
209 views

Remove X-SA-Exim Headers from out going emails

I am using EXIM4 on Ubuntu 12.04 with Spamassassin for sending emails. Any emails will be relayed through Amazon SES service. But I want to hide the bellow headers in outgoing emails. ...
0
votes
3answers
221 views

Suggested mechanisms for user-driven spam training?

I'm looking at having a way for my mail users to completely manage their own spam training. Before I get into it, my mail server details: Debian 7.5, postfix 2.9.6, dovecot 2.1.7, amavisd-new 2.7.1, ...
0
votes
1answer
1k views

How to test email spam scores with amavis?

I'd like a way to test a spam message to see its spam scores that SpamAssassin gives it. The SA db files (bayes_toks, etc) reside in /var/lib/amavis/.spamassassin. I've been testing emails by doing ...
2
votes
1answer
1k views

Amavis / spamassassin setup, how to disable quarantine and get default spamassassin behavior back?

I've set up my first mail server that uses amavis. First off, I don't really see the point in amavis if I don't care about viruses. I don't use clamav as it's a huge RAM hog. SpamAssassin has worked ...
3
votes
1answer
210 views

SpamAssassin coming back with zero scores

When I run tests (spamassassin -t) on obvious spam, I get results like this: Content analysis details: (2.0 points, 5.0 required) pts rule name description ---- ...
1
vote
0answers
168 views

Spamassassin && Exim: redirect spam emails

I want to redirect all email, being marked as SPAM to special mailbox. Works with Exim4, SpamAssassin Server version 3.3.1 on CentOS 6.5. Rules from Exim in acl_check_data block: warn message = ...
1
vote
2answers
340 views

is there something similar like sa-learn-cyrus for dovecot?

I was looking whole morning and found nothing. I have a debian box running dovecot IMAP. I want to train the spamassassin with the users spam folders. is there something similar like sa-learn-cyrus ...
0
votes
1answer
173 views

Deliver fetchmail messages to two different MDA's

I'm running fetchmail on a AntiSpam server to get messages on user's junk folder to feed SpamAssassin bayesian filtering. It's been running nicely with the -m option in fetchmail to deliver the ...
11
votes
2answers
704 views

How can I reduce the damage of stolen mail accounts?

Currently I’m offering some webhosting to a few advertising agencies for their premium customers. But currently I have a great problem with the E-Mail Service. In the last week, the E-Mail Accounts of ...
0
votes
1answer
132 views

don't forwards spam mails with spamassassin

I have a mail server running postfix for my youth movement. I use the mailserver to create groups that everyone can mail to so the right persons receive this mail. It's a relay server. I noticed that ...
1
vote
0answers
171 views

spamassassin does not honour local.cf

I updated my /etc/spamassassin/local.cf spamassassin file to update some score rules. However, even after restarting spamassassin (via service), the new score are not shown in spam emails. In fact, ...
2
votes
1answer
127 views

Restrict IMAP access for a given account to only one IP address in Exchange 2013

I've created a "spam crawler" account with full access to all mailboxes in an Exchange 2013 environment to get messages in the junk folder to feed the Bayesian filtering running on SpamAssassin in a ...
1
vote
1answer
78 views

Error in amavisd.conf -missing curly or bracket

I'm currently trying to setup Spam and Virus Filtering on my CentOS 6.4 machine using SpamAssassin and ClamAV. I've installed all necessary packages (SA, ClamAV and Amavisd-new) and configurated them. ...
0
votes
0answers
138 views

Move spam from dovecot public folders

I have set up Dovecot with public folders on a CentOS 6-server, with sendmail and spamassassin. I'm getting a lot of spam in both public folders and in the users inboxes. I want spamassassin / ...
1
vote
1answer
107 views

SpamAssassin ASN Plugin

I've got spamassassin 3.4.0 setup to use Mail::SpamAssassin::Plugin::ASN. cpan confirms that it is installed, and dig confirms that I can get the ASN TXT records from http://routeviews.org. My ...
0
votes
0answers
71 views

SpamAssasin: Custom rules are not implemented, what could be the reason?

I am trying to add new custom rules for spamassassin but my rules are not being implemented. I've added rules to /etc/spamassasssin/local.cf: # CHECKING RULES FROM EMAIL score NO_RELAYS 0 score ...
9
votes
1answer
249 views

Is there a way to get spamassassin to score the top lines of a message body more heavily?

A lot of spam is getting through the filter on the mail server I run with the relatively simple trick of starting with few lines of (incredibly obvious) weight loss or other scam text at the top, ...
1
vote
2answers
65 views

Efficient way to get Postfix talk to SpamAssassin

Traditional methods of doing this on SA wiki talk about shell scripts as content filters. Well that's an additional fork syscall on every email and the volume that will flow through the machine is ...
1
vote
0answers
35 views

SpamAssassin: is there a way to get the urls that were found in blacklists?

Is it possible to make SpamAssassin show the urls that were found in blacklists? Example: when rules like URIBL_JP_SURBL or URIBL_WS_SURBL matches. I'm trying to search for a config directive that ...
1
vote
1answer
2k views

Filter spam emails from being forwarded by exim4

I was studying and searching 2 days about how to configure my exim/spamassassin/clamd configuration. I have the next situation: I have an email a@domain.com redirected to a@gmail.com. Unfortunately, ...
0
votes
1answer
121 views

Alert Postfix sender when outbound email is not delivered due to amavisd-new checks

I'm running Postfix 2.11 together with amavisd-new which works fine with spamassassin and clamav to prevent inbound/outbound spam and virus traffic. Right now i'm looking for a way to alert users ...
0
votes
2answers
410 views

change ehlo name of Amavis

Server: Ubuntu 12.04 64 bit Setup Postfix + Dovecot + Amavis with Mysql for Virtual domains. I have configured the postfix mailserver successfully. However when I test the Email with mail-tester.com, ...
0
votes
1answer
2k views

Postfix Spamassassin deferred queue massive error

I have been witnessing some massive problems with my Postfix email server, equipped with Dovecot, and spamassassin. The log files show errors like below, and there are thousands of such lines in the ...
0
votes
1answer
229 views

Same email is evaluated as a spam for one user, and regular for the other

I have mail server, with installed spamassassin to filter spam messages. Problem I faced is that at 02h first user received email that is treated as a spam (and is was a real spam, moved to spam ...
3
votes
1answer
1k views

SpamAssassin - ready to give up - extremely unreliable, marking spam as ham

I run a VPS, and I have to say that by far, getting SpamAssassin working right has been the most frustrating thing of all. It keeps missing spam mails and I see autolearn=ham in the header, yet when I ...
1
vote
1answer
118 views

Qmail's preline command

Having trouble to use preline command with Qmail's mail filtering. When i use next syntax in .qmail-default file: | /var/qmail/bin/preline /usr/bin/maildrop /etc/mail/mailfilter ... I get ...
4
votes
1answer
740 views

How to edit bad word filter in SpamAssassin?

How can I add several custom "bad" words into SpamAssassin, so emails that contains that words are marked as a spam? UPDATE one of the keys is to edit file /etc/mail/spamassassin, and to add badword ...
0
votes
0answers
67 views

Spamassassin internal DNS resolution?

Short Version: Is it possible to configure spamassassin to perform its own recursive DNS lookups instead of using the server specified by the OS? Long Version: I've got a collection of dedicated ...
1
vote
2answers
743 views

Running SpamAssassin as a Windows Service on Server 2012

I am trying to run spamd.exe file which runs the spamassassin for windows, as a windows service. I tried sc create spamassassin binPath="C:\Program Files (x86)\JAM Software\SpamAssassin for ...
1
vote
0answers
86 views

incoming mail with low score, but count as spam?

my Centos server currently running spamassassin to filter spam email, it work together with mailscanner, it work fine before but suddently got a problem: Nov 15 16:12:02 main MailScanner[4079]: ...
0
votes
1answer
170 views

Exim + Spamassassin, automatically throttle spammy IP addresses

I am watching my email gateway blackhole spam messages using spamassassin - anything over a specific score. Right now, it is dropping around 3 per second. This is great, but I would prefer the spam ...
-1
votes
2answers
393 views

Spamassassin is running but terminal showing “command not found”

I'm running CentOS 6 with cPanel and Exim. Spamassassin headers are showing up in email but I can't use spamassassin commands in terminal. # spamassassin -bash: spamassassin: command not found # ...
1
vote
1answer
58 views

How do I exclude higher MX IP from SpamAssassin?

... higher priority mail exchange relays some emails to lower priority mail exchange and triggers following w/ SpamAssassin. * -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low ...
0
votes
1answer
7k views

Remote host said: 550 5.7.1 message content rejected

A sender from France is trying to send an email to us. Unfortunately his email is being rejected with the message below. I suspect there are some weird characters in the mail content but how can I ...
0
votes
3answers
2k views

qmail limit number of emails sent by user or domain per hour

I'm hosting a mail server for a couple different domains. Recently, the password of one of the users was guessed/hacked and the account was used to send out a couple hundred thousand messages before ...
-1
votes
1answer
104 views

Spamassassin failing to parse config line with user_scores_custom_query rule

I'm trying to setup spamassassin per user config files via MySQL, and I get this error: Sep 8 12:09:13.668 [12307] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": ...
6
votes
1answer
339 views

Spamassassin: store bayes per user in mysql (with amavis)

I use postfix (mysql virtual users) + amavis + spamassassin and configured spamassassin to use mysql for storing the bayes data: use_bayes 1 bayes_auto_learn 1 ...
0
votes
1answer
331 views

Spamassassin: Where quarantined files goes?

I searched a little bit and don't found anything related :( I need to know where spamassassing send the quarantined files since I need check some data on them. Any help appreciated. OS: Ubuntu ...
-1
votes
1answer
160 views

Using Spam Assassin as email proxy

I'm looking to setup a Spam Filter Proxy for my clients, not too many mind you, and have it as transparent as possible. I read about SAVASM and Spam Vigilante, and while they are perfect I guess for ...
3
votes
1answer
2k views

Using razor2 with spamassassin

I have installed and configured razor2 according to official doc including editing the v310.pre config file in spamassassin folder. I ran both of the following commands with success (both indicated ...
0
votes
1answer
569 views

Postfix drops all spam, but shouldn't do this

i'm using a mailserver setup with postfix, amavis and spamassassin. Some parts of my current configuration (Ubuntu 12.04.2): /etc/amavis/conf.d/20-debian_defaults $sa_spam_subject_tag = '***SPAM*** ...
0
votes
2answers
104 views

Do email spam detection block domains?

Does email (like gmail, yahoo, hotmail) providers block domains? Or do they mainly block IP addresses? I'm wondering...what if people use my domain to spam others? Then it would be unfair to me ...