Questions tagged [spamassassin]

SpamAssassin is an open source server daemon used to examine and mark email that it identifies as spam.

SpamAssassin is an open source server daemon used to examine and mark email that it identifies as spam. SpamAssassin does nothing but mark the email as spam; it is up to the mail client to setup rules to filter the marked emails out.

If you are having a problem which is unrelated to programming SpamAssassin, you should likely not be posting to Stack Overflow.

147 questions
0
votes
0 answers

Size limit on E-mail attachments when checking if it is Spam?

I am trying to assess the Spamminess of E-mails. The emails are received in Maildir (on Linux server) via Postfix. I am completely new to the E-mail domain. So I am curious about the following things: Do the emails with attachments usually pass…
0
votes
1 answer

How can I query Spamhaus's SBL with a domain name?

I want to query Spamhaus's SBL using a domain name. I know this is possible to do because this form (Find SBL Listings by ISP Domain Name) does it and SpamAssassin does it, but I can only seem to get it to work with IP addresses. I took a quick…
Chas. Owens
  • 64,182
  • 22
  • 135
  • 226
0
votes
1 answer

Spam scoring for user's campaigns

I am working on an application that lets users build email campaigns to distribute en masse (following all good non-spam practices, of course). We want to put some kind of scoring system in there to get onto them if they put in key things, like…
Captain Hypertext
  • 2,446
  • 4
  • 27
  • 36
0
votes
1 answer

spamassassin - blacklist not working

On my ubuntu-server (14.04 LTS) I installed postfix, dovecot, amavis, clamav and spamassassin. I want to define global rules to blacklist mail-addresses. Therefore in the /etc/spamassassin/local.cf file I wrote... blacklist_from…
Andre
  • 623
  • 2
  • 9
  • 20
0
votes
1 answer

SpamAssassin filter header

I'm trying to filter messages with header Return-Path contains string '@example.eu'. I added to /etc/mail/spamassasin/local.cf this lines: My first attempt: header LOCAL_DEMONSTRATION_ALL Return-Path =~ /example\.eu/i score LOCAL_DEMONSTRATION_ALL…
0
votes
1 answer

Zimbra installation missing spamassassin folder

I have a relatively new Zimbra installation. It is version 8.6.0_GA_1153.FOSS. I was trying to enable Razor using the instructions here: http://wiki.zimbra.com/wiki/Improving_Anti-spam_system. Unfortunately, the entire spamassassin folder seems to…
rob_hir
  • 13
  • 4
0
votes
1 answer

Spam Assassin giving invalid output

I want to use Spam-Assassin for scoring mails for spam before sending them to the users. I'm using PHP for executing it as a process using the exec. exec("/usr/bin/spamc -R < {$fname}",$score,$rr); The problem is that the result being returned is…
Sam
  • 830
  • 2
  • 11
  • 22
0
votes
1 answer

Sieve not filtering email

I setup Postfix with Spamassassin and Dovecot with Sieve. Spamassassin will tag the email as spam. I am trying to get Sieve to move mail tagged as "Spam" by SpamAssassin into the Junk folder. However, it is not doing so. I have no idea what I am…
Farhan Yusufzai
  • 297
  • 6
  • 23
0
votes
1 answer

Using SpamAssassin to analyse existing emails before installation

I'm using SpamAssassin to analyse existing emails, so I have an archive folder on my file system that contains a large amount of (already read, old) emails. Among those emails there are quite a lot of spam emails that have not been analysed by…
LaDude
  • 1,383
  • 1
  • 11
  • 27
0
votes
1 answer

Remote SpamAssassin network protocol (spamc) returns empty response

I am using a basic PHP class to run the SpamAssassin Network Protocol commands on a remote server. I installed SpamAssassin following a guide, just skipping the PostFix part. No matter what command I run (CHECK, REPORT, PING, etc), I only get a…
Luke Shaheen
  • 4,262
  • 12
  • 52
  • 82
0
votes
1 answer

plesk spamassassin & spamdyke

I have spamassassin installed and integrated into qmail on plesk dedicated server. Now i have installed spamdyke, all are working fine except they do not work together. Wheen I add in etc/xinet.d/smtp_psa line /usr/bin/spamdyke -f…
Cameleon
  • 59
  • 10
0
votes
0 answers

sa-learn.sh not deleting spam after running cron job

I have a small script that seems to be running,according to the logs, but it is not removing the the emails in the folder, as instructed, after processing. I've searched and searched, but don't know how to troubleshoot any further. Can anyone…
0
votes
1 answer

Wrong return-path with postfix, spamassassin on debian

i currently set up an new Server running the latest Debian. Running postfix and spamassassin. Spamassassin works as expected. But with outgoing mail i have the problem that Spamassassin is modifing the "return-path". Instead of the sender address it…
0
votes
1 answer

spamassassin filter for custom expression

I would like to add a rule that blocks all incoming e-mails that contain a certain expression. Ex: 'Test Phrase'. I have added the line rawbody NO_SPAMW /Test" *"Phrase/i but it seems it doesn't work. Can you tell me what is the correct…
Alex
  • 287
  • 2
  • 9
  • 17
0
votes
1 answer

php restart process in the background spamassassin

I use popen and ssh. In one script, i need to restart the service spamassassin with : $spamassassin = "service spamassassin restart &"; $spamassmilter = "service spamass-milter restart &"; shell_exec($spamassassin); shell_exec($spamassmilter); I…
mpgn
  • 7,121
  • 9
  • 67
  • 100
1 2 3
9
10