Questions tagged [spamassassin]

SpamAssassin is a computer program released under the Apache License 2.0 used for e-mail spam filtering based on content-matching rules.

Filter by
Sorted by
Tagged with
1 vote
0 answers
341 views

Block dangerous word and excel docs?

The newest craze, apparently, is to add garbage into Office '97 formatted *.doc and *.xls files so that when a user opens them, and ignores warnings from Defender or anything else, they get infected ...
DrDamnit's user avatar
  • 348
1 vote
0 answers
62 views

Rescan Spamassasin Emails marked as Spam

So, due to issues with an upstream mail server, all incoming emails triggered two rules and got a little over +5 on their spamassassin scores. Nice. I'm in touch with the upstream provider about ...
Richard Thomas's user avatar
0 votes
1 answer
863 views

How do I teach spam and ham to spamassassin running in a docker container?

I'm running SpamAssassin as a milter in a Docker container separate from Postfix and Dovecot. Postfix and SA work together nicely, Postfix connects to spamass-milter, SA does its thing, mail gets ...
Morpheu5's user avatar
  • 269
1 vote
1 answer
1k views

spamassassin fails to remove bayes.lock file

I have a problem with the /.spamassassin/bayes.lock This is the error I'm seeing : Oct 23 15:12:14 server spamd[18073]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: ...
Ema Gonzalez's user avatar
0 votes
1 answer
135 views

How to interpret the debug output from Amavis->Spamassassin?

Could please someone explain how Spamassassin build the following strings: Oct 17 14:00:30 server amavis[29497]: (29497-02) SA dbg: uridnsbl: domain amazonaws.com in skip list, host sns.eu-central-1....
kbu's user avatar
  • 255
1 vote
1 answer
821 views

CentOS7 - cannot change spamassassin required_score

I have a CentOS7 server running an yum-based install of Spamassassin (spamassassin-3.3.2-4.el6.rfx.x86_64). For some reason, I cannot change the required score setting to a custom value. When mail ...
pathrider's user avatar
  • 135
1 vote
1 answer
3k views

Postfix & Spamassassin - custom rule for return-path and from address not in same domain

Having a little trouble with Spamassasin identfying spam emails coming from a domain of mine. The spam email is coming in from a return-path of [email protected], but the from field in the header ...
Maxingwell's user avatar
0 votes
1 answer
1k views

Spamassassin regex - is matching almost everything

I wrote a regex rule for spamassassin, which should match some words or phrases in both Subject and Body of emails. The rule is the following: header __SUBJECT_CHUJ Subject =~ /(powi.ksz.(0,5} penis....
Pikk's user avatar
  • 349
-2 votes
1 answer
542 views

Whitelist Server in SpamAssassin

Iss possible add a server with various subdomains in SpamAssassin Whitelist, like *.example.com? This is the host instance with subdomains: [email protected] hm1480-p-60.example.com [IP-ADDRES-...
Tom's user avatar
  • 289
0 votes
1 answer
438 views

Postfix/Amavis not filtering spam for entries in second domain

My postfix installation is working correctly (delivery via dovecot, spam filtering via amavis - spamassasin). I have some aliases in virtual, eg: [email protected] johnDoe However, for the ...
mmalmeida's user avatar
  • 155
0 votes
1 answer
2k views

whitelist_from_rcvd in Spamassassin not working - not whitelisting

I want to use whitelist_from_rcvd and exclude my own email addresses at the same time avoiding for them to be forgered by spammers. But it seems that it's not working and my own messages are still ...
Pikk's user avatar
  • 349
1 vote
1 answer
3k views

Spamassassin - how to get a better score

I am testing a contact form, but I am getting a too high score for the emails sent from the contact/booking form. Here is the header: Return-Path: <[email protected]> ...
Pikk's user avatar
  • 349
1 vote
1 answer
388 views

Postfix content filter (spamassassin) get's bypassed

Lately we're receiving a lot of Japanese spam messages, containing weird headers. At least, it looks like a mail is remotely offered, but the mail is handled as if it was sent internally, which ...
royarisse's user avatar
  • 173
3 votes
1 answer
425 views

Why does spampd fail with socket connection failure on openbsd?

I'm having some trouble getting spampd to work in OpenBSD. First off, if I try to specify the daemon flags in my /etc/rc.conf.local like so: spampd_flags="--port=10025 --relayhost=127.0.0.1:10027 --...
djsumdog's user avatar
  • 1,120
0 votes
1 answer
3k views

Configure Amavis with custom spamassassin rules

How can I configure Amavis to apply specific rules from SpamAssassin, like score MISSING_SUBJECT 30 from Blocking empty subject line emails from being sent or received? I run Amavisd-new 2....
6E696C73's user avatar
0 votes
1 answer
140 views

access SpamAssassin SpamBox from command line

I am trying to create a CRONjob to delete spam older than x days. I can do this from the command line with non-spam emails by using the following script: find "/home/account/mail/example.com/username/...
Parapluie's user avatar
  • 165
0 votes
3 answers
3k views

Postfix + opendkim + spamassin: messages are signed twice

I've got Postfix + spamassassin working already and I'm introducing opendkim. I'm almost there except outgoing messages are DKIM signed twice, which is not only useless but even makes them DKIM ...
Jérôme's user avatar
  • 645
0 votes
0 answers
248 views

Dovecot SpamAssassin results different than standalone

I'm trying to filter spam with smtpd, spampd, dovecot, and SpamAssassin, and I'm finding different results of a spam email between the X-Spam-Report added by spampd/dovecot (which scores low) versus a ...
Kevin's user avatar
  • 215
0 votes
1 answer
1k views

filtering spam emails with Chinese subject

A client have ton of Chinese spam. All look similar to this one: Return-Path: <[email protected]> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on hotel492.dedicatedpanel.com X-...
Nick's user avatar
  • 852
3 votes
1 answer
126 views

Spamassasin user - disable shell

I recently discovered that spamassasin added the following line to my passwd file: debian-spamd:x:115:122::/var/lib/spamassassin:/bin/sh. Why does spamassasin need shell access? Is it safe to disable ...
koseduhemak's user avatar
0 votes
1 answer
2k views

DCC plugin to SpamAssassin does not get loaded on Debian 9

In spite of having this in spamassassin -D output the plugin does not seem loaded: Feb 1 21:05:53.653 [7880] dbg: config: read file /usr/share/spamassassin/25_dcc.cf I get this: Feb 1 21:05:54....
LetMeSOThat4U's user avatar
0 votes
1 answer
481 views

Cyrus on ClearOs 7 - how to teach it about spam and ham

I have recently set up a Cyrus IMAP email system on ClearOs 7 - it is configured as it comes out of the box, to deliver mail locally, and to receive mail for my users from elsewhere. A lot of spam ...
Nikki Locke's user avatar
0 votes
1 answer
447 views

How do I apply score changes in SpamAssassin?

I'm trying to change a score of MIME_HEADER_CTYPE_ONLY, but whenever I change and restart spamassassin the score will not change. I want to set the score to 0, like: score MIME_HEADER_CTYPE_ONLY 0....
user134969's user avatar
1 vote
1 answer
770 views

spamassassin/auto-whitelist, can I delete it?

I found a huge file, .spamassassin/auto-whitelist, in my user directory, with my permissions, taking up a large percentage of my quota. Can I safely delete it, or otherwise shrink it down?
hotpaw2's user avatar
  • 113
0 votes
1 answer
2k views

How can I update spamassassin rules?

I'm running currently SpamAssassin version 3.4.1, so I'm wondering if there are any updates for rules, which are stored in /usr/share/spamassassin? If there are update, how can I update them?
user134969's user avatar
7 votes
1 answer
4k views

Why would Spamhaus continue to add an IP to the CSS when that IP hasn't sent email recently?

For the last six months I have been locked in battle with the Spamhaus CSS SBL, having to regularly check if the IPv6 address of my Exim4 server has been listed and, if it has, manually delisting it. ...
JamesG's user avatar
  • 201
1 vote
1 answer
1k views

Zimbra with multiple domains - SPAM

I have a zimbra installed and working fine. The main domain is mbox.dominiocorp.com.br (fictitious).. I have SPF, DKIM, _dmarc, reverse configured and tested. The emails of the domain mbox.dominiocorp....
Christovam's user avatar
0 votes
0 answers
349 views

Spamassasin / Mailscanner - "learn better"

Specs: debian 8 spamassassin 3.4.1 MailScanner 5.0.3 We have some mailservers which (auto and manually) learn via sa-learn from different hosting-servers. Spam will mostly get tagged and moved to ...
eXe's user avatar
  • 215
1 vote
1 answer
348 views

SA bayes training with multiple domains

On a linux box running postfix+amavis+spamassassin, we are thinking of implementing bayes filtering. This system already does spam filtering (without bayes) at the moment for multiple customer domains....
Dude named Ben's user avatar
0 votes
1 answer
462 views

Mimedefang to log spamassassin scores to mail log

I use mimedefang with spamassassin and sendmail I can see the scores and tests in to the mail log if the mail does not get rejected as spam by adding it to the header of the mail. I would like to ...
Sl33py's user avatar
  • 165
0 votes
1 answer
85 views

Postfix: Recieving mails that are not for my domains

we are using postfix/dovecot/amavis/spamassassin configuration with custom SA rules, etc. But some weird mails are delivered to us, even without spam test headers and dkim tests Example header: ...
VH23's user avatar
  • 1
3 votes
1 answer
743 views

Blacklist recipient email addresses

I have a mail server on Ubuntu using Postfix and Dovecot and SpamAssassin. In Postfix I am using "plus addressing" via the recipient_delimiter option. So, for example [email protected] and foo_stupid@...
Phrogz's user avatar
  • 553
2 votes
1 answer
2k views

Arch Linux: Dovecot Sieve Script Won’t Compile

Arch Linux Linux kernel 4.9.36 (64-bit) Dovecot 2.2.31 (65cde28) SpamAssassin version 3.4.1 running on Perl version 5.26.0 Pigeonhole 0.4.19-1 Trying to set up a mail server for the firs by following ...
Hugh Guiney's user avatar
1 vote
2 answers
1k views

Why do I get different SpamAssassin results via spamd vs command line

My SpamAssassin daemon is not flagging as much spam as I would like (but it is flagging some), so I took a sample message which had not been flagged, and ran it thru SpamAssassin at the command line. ...
flymike's user avatar
  • 233
0 votes
1 answer
432 views

spamd with postfix: check spam from webmail/localhost [duplicate]

I didn't find any way to set postfix with spamd to check outgoing email from webmail/localhost for attempt to ward off possible spam.
Pol Hallen's user avatar
  • 1,113
2 votes
0 answers
468 views

spamassassin + postfix doesn't work without log files

ps aux|grep spamd root 12207 0.0 1.0 159920 83460 ? Ss 17:38 0:01 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir root ...
Pol Hallen's user avatar
  • 1,113
0 votes
1 answer
527 views

SA tagging logwatch email as spam

Centos7 Posftfix 3.2.2 Amavisd 2.11.0 spamassassin-3.4.0 I have a logwatch output that gets mailed to me daily. Spamassassin is scoring it high enough as exceed my threshold for whacking it as spam. ...
shorton's user avatar
  • 149
1 vote
2 answers
2k views

Spamassassin - add every header

I am using spamassassin via Amavisd-new. I have amavisd set to include headers on spam and ham messages via "$sa_tag_level_deflt = -9999.0;" 2 questions... a) I want to be sure I am configured to ...
shorton's user avatar
  • 149
3 votes
1 answer
980 views

Avoiding unnecessary bounces with OpenSMTPD on OpenBSD

I am running OpenSMTPD on OpenBSD together with spamd, spampd and spamassassin, DKIMproxy and dovecot. My setup is to handle both local e-mail on the server and (external) email for my domain. My ...
pvswie01's user avatar
8 votes
1 answer
1k views

Spamassassin logging scores

I have the Spamassassin 3.4 + Ubuntu 14 + Qmail + Clamav. All are running OK. When a SPAM is detected, it is marked as [spam] and delivered to recipients. Readind the spamd log (mail.log for me), I ...
Daniel's user avatar
  • 81
0 votes
2 answers
765 views

dovecot SquirrelMail w/ sendmail on Fedora Connection refused by [127.0.0.1] when sending

We use Fedora 25 with sendmail-8.15.2-8.fc25.x86_64 and whilst sending messages via SquirrelMail it takes quite a while. These logs appear: delay=00:00:15, xdelay=00:00:00, mailer=relay, pri=46987, ...
RobbieTheK's user avatar
1 vote
1 answer
758 views

In mac OS Server, why don't virus & filtering settings seem to have any effect?

In mac OS Server, when configuring the Mail service, it is possible to configure the virus & junk mail filtering settings. It's just a GUI front-end for clamav, amavis, spamassassin, greylisting, ...
JLG's user avatar
  • 21
0 votes
1 answer
1k views

Debian Jessie, Postfix + amavisd-new + spamassassin: not sure if Bayes works

Dear polite people in this forum, I've recently migrated to a new mailserver. As the hardware "age gap" was too large, it would be difficult to simply upgrade from Debian Squeeze to Jessie at the ...
frr's user avatar
  • 261
1 vote
1 answer
249 views

Mailcleaner new beta installation problems

I have installed the mailcleaner beta 2017.04 and I have a few problems here : 1) I get a message via email every 5 minutes with this error : "Invalid graph type: none at /usr/local/share/perl/5.20....
user417722's user avatar
0 votes
1 answer
297 views

Running razor with spamassassin

To run razor with spamassassin on a default installation, is it enough to install it or is there any extra configuration to add?
Fabrizio Mazzoni's user avatar
0 votes
1 answer
356 views

Authenticated outgoing email is marked as spam by PBL on mailserver

Users are sending email, authenticated, through the submission port on my mailserver (their domain MX record points to mailserver; postfix). What's been setup A record MX record (pointing to same ...
th3penguinwhisperer's user avatar
0 votes
1 answer
226 views

Adding spamassassin to postfix causes sender_bcc emails to triplicate

I have had a well working postfix/dovecot mail installation at home for a couple of years. To ensure all outgoing mail gets saved, I have sender_bcc_maps = hash:/etc/postfix/sender_bcc in my main.cf ...
akc42's user avatar
  • 137
0 votes
2 answers
1k views

Understanding spamassassin and its scoring

I'm trying to figure out why a lot of my emails are being treated as spam. The setup is Exim4, Dovecot and SpamAssassin. Here is am example email that arrives at the inbox: Return-path: <andy....
Andrew Newby's user avatar
  • 1,154
1 vote
2 answers
225 views

Spamassasin not checking SPF - Perl error?

Getting lots of email spoofing spam from our own domains to my Webmin installation using Spamassasin, the error im receiving when debugging spam is as follows: May 19 09:33:45.959 [15233] dbg: spf: ...
Paul Cullen's user avatar
0 votes
1 answer
672 views

Add X-Spam-Flag using exim4

I am new to exim4. I have this configuration: .ifdef SA_ENABLE warn !authenticated = * hosts = !127.0.0.1/24 condition = ${if < {$message_size}{1K}} ...
Laurent's user avatar
  • 446

1 2
3
4 5
10