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.

447 questions
0
votes
0 answers

Multi-message anti-SPAM filter in SpamAssassin

My vendor's database has been stolen and I started to receive spam messages in a huge amount. It is being sent by spambots / spam scripts, so sender and recipient email addresses are always fake. The only common thing is that these messages…
trejder
  • 143
  • 10
0
votes
0 answers

migrate learned ham/spam from rspamd to SpamAssassin

As whitelisting by sender domain is very unreliable in rspamd and the developer on GitHub doesn't give a damn (the post in discussion is only being ignored, opening an issue for it since it clearly only works like 10 % of the time only results in a…
0
votes
1 answer

procmail's logging helped me get one account's .procmailrc working, but two other accounts don't work and don't log); having difficulty diagnosing

As a site that has a number of users who are "technologically challenged", and as the system mangler, it's fallen on me to solve the spam problem for us all. So, SpamAssassin's doing a fine job of identifying the spam, now it's just a matter of…
Richard T
  • 1,206
  • 12
  • 29
0
votes
0 answers

Using spamassassin + dovecot/postfix, how do you block messages from a blacklisted address instead of route to junk folder?

I have set up an email server using a wizard tool, although I was hoping to alter the default behavior configuration such that when I receive emails from addresses I explicitly blacklist, those messages are immediately deleted as opposed to routed…
0
votes
1 answer

Spamassassin not scoring correctly

I have Spamassassin running on a Ubuntu/Plesk server. It was working relatively well until recently but now seems to be letting through random spam messages. These messages seem to trigger plenty of rules but the score is still coming in really low.…
0
votes
0 answers

Ubuntu 20.04 Server spamassassin/spamd "internal error, python traceback seen in response." No additional info. How to debug and fix?

On Ubuntu server 20.04, I am running spammassassin/spamd, postfix/dovecot. In my mail logs at /var/log/mail.log I am getting a spamd internal error, python traceback seen in response error as shown below: Mar 2 12:28:52 mail spamd[26377]: spamd:…
DanRan
  • 73
  • 1
  • 3
  • 22
0
votes
1 answer

How to whitelist our own outgoing emails from being blocked in amavis/spamassassin using Spamhaus' block lists?

Just after we implemented spam filtering on our Postfix server using spamassassin-dqs through amavisd-new we drastically reduced received spam, but to our surprise our own outgoing e-mails are being blocked as well. Our server runs on a AWS EC2…
Claudio
  • 159
  • 6
0
votes
1 answer

RCVD_IN_DNSWL_BLOCKED in SpamAssassin as it doesn't use local DNS

I'm not sure what I have wrong here. It used to work on Ubuntu 18.04, but doesn't on 20.04 it seems. I have unbound DNS server setup: unbound-control status version: 1.9.4 verbosity: 1 threads: 1 modules: 3 [ subnet validator iterator ] uptime: 314…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
0
votes
1 answer

spamassassin complaining twice a week: cannot open file

Our postfix/spamssassin complains irregularly but at lease twice a week via mail with the following message: /etc/cron.daily/spamassassin: Cannot open file /var/lib/spamassassin/3.004002/updates_spamassassin_org/1906307.tar.gz: No such file or…
Heiner
  • 15
  • 3
0
votes
1 answer

Spamassassin ignores spam in multi-part email

Sometimes my email server gets multi-part emails where the embedded email is detected as spam, but the containing email gets a score of 0. So the message is marked as SPAM but not moved to the quarantine folder, still delivered to the recipient.…
Chris
  • 1
  • 1
0
votes
1 answer

Email goes to spam even with valid SPF, DKIM and DMARC records, dynamic rDNS on AWS instance

I have an instance on AWS and fighting with sending emails through cPanel. All records are OK (checked on MX toolbox): SPF, DKIM, DMARC at the cPanel level and the WHM level (hostname). Even rDNS is OK. Server IP is not flagged or blacklisted…
Adrian P.
  • 101
  • 2
0
votes
0 answers

Prevent Exim from sending spam

I have an Exim server for our application and I noticed malicious users registering with our app to send bulk spam. I know that Exim has the ability to integrate with SpamAssassin to prevent the arrival of emails with malicious content. But does it…
Tom
  • 289
  • 3
  • 13
0
votes
0 answers

How to tell if spamc in .procmailrc is reading user_prefs?

I have some mail accounts on a Postfix server on Ubuntu 18.04 that have the following in the .procmailrc files in their home directories: # LOGFILE=$HOME/procmail.log SHELL=/bin/sh :0fw | spamc :0 * ^X-Spam-Status: Yes $HOME/SPAM :0 !…
TommyPeanuts
  • 472
  • 1
  • 7
  • 24
0
votes
1 answer

Using both SpamAssassin and postscreen in Postfix

I'm trying to set up an MX server using Postfix, postscreen and SpamAssassin. According to the SpamAssassin documentation, I have to add -o content_filter to the smtp service in master.cf. This works with the default settings for Postfix, which is…
jornane
  • 1,166
  • 1
  • 9
  • 26
0
votes
0 answers

DKIM_INVALID in Spamassassin only for emails sent from other emails in the same server

I have postfix/dovecot running with spamassassin on Centos. PROBLEM: The VPS acts as a mail server Spamassassin edits the email subject and adds [SPAM} Ms. Outlook on Windows moves those emails to the Junk folder The above happens ONLY if an email…
Pikk
  • 339
  • 1
  • 6
  • 19