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
0
votes
1answer
32 views

Spamassassin fails after reboot due to missing tmpfiles.d entry

The /run/spamassassin directory is not being re-created at boot because there is no /usr/lib/tmpfiles.d/spamassassin file telling it to do so. If I manually create /run/spamassassin and start the ...
0
votes
0answers
16 views

SpamAssassin shows an error of HTML_IMAGE_ONLY_XX. But I do not have an image in my email

SpamAssassin shows that my email is going to spam with the error "HTML_IMAGE_ONLY_20" or "HTML_IMAGE_ONLY_16". From what I read and understood so far, this is because SpamAssassin says my html has an ...
0
votes
0answers
15 views

How can I automatically add email addresses to which I send email to SpamAssassin's whitelist?

Is there an easier way to do this if cPanel is used? I have searched Google for "spamassassin automatic reply whitelist" and read https://cwiki.apache.org/confluence/display/SPAMASSASSIN/...
0
votes
1answer
20 views

spamassassin - set custom nameservers, rather than relying on resolv.conf?

Someone suggested to me that you can now set a custom nameserver for SpamAssassin to use when doing RBL/BL checks. Currently I get this error: 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The ...
0
votes
0answers
18 views

Mail going missing with Spamassassin, Postfix and Dovecot

I am setting up a new Centos8 server with Spamassassin, Postfix and Dovecot, ClamAV and Amavis. All was going well until I added a third domain, the first two worked fine for receiving and sending e-...
2
votes
0answers
18 views

Trusting “networks” (IPs) in SpamAssassin by DNS?

I have an IPv6-only server that runs Postfix with SpamAssassin (via Amavisd). I use a trusted relay service so that I can still receive emails from IPv4-only servers. It adds SPF headers for me and I'...
0
votes
0answers
44 views

Postfix: Disable spam filter for outgoing email

My Postfix/SpamAssassin setup is sending out emails with headers from SpamAssassin. How do I stop it? Whitelisting my network/domain doesn't seem to do the trick. How do I tell postfix, to use the ...
0
votes
1answer
108 views

postfix spamassassin transport external system

Running spamassassin locally on mail system is causing load issues. On another system which uses Exim as an MTA shipping mail off to an array of external spamassassin systems was just a one line ...
0
votes
0answers
40 views

Which means error “1ioTDs-0006o7-UD spam acl condition: cannot parse spamd [127.0.0.1]:783 output”?

While browsing the mail.err file, I came across this message: ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken After checking the paniclog file I received ...
1
vote
1answer
561 views

Amavis / Spamassassin - FORGED_SPF_HELO and SPF_HELO_PASS

I have a web server that sends out webform type emails via Postfix 3.3.0. No inbound. No extras. Receiving mail server is running same Postfix (but with amavis-new/spamassassin + dovecot/etc). These ...
0
votes
0answers
14 views

SpamAssassin (spamd) server is taking too long to respond?

I have two servers with an instance of Spamd running on both of them. When I connect to one server via Telnet, and run a command, the SA server responds almost instantly. But the second server takes ...
1
vote
2answers
90 views

Which command to send to SpamD to test the connection?

I run a few SpamAssassin servers and I'd like to ensure that they are up and running. Just checking for "service spamassassin status" isn't enough as I had recently the case it was showing "Active" ...
0
votes
0answers
15 views

Postfix sending spam from localhost [duplicate]

My email server entered reclently on all mail blacklists possible. Reading the logs, all I can see is that the client is my own server. postfix/smtp/smtpd[8630]: C98A122201F: client=localhost....
1
vote
1answer
47 views

Spamassasin rule to flag certain MX IPs

I've noticed a flood of spam that is related to the same range of IPs. All the spam email has different HTML text (which is english but meaningless) and a few embedded pictures (which I block) but ...
0
votes
1answer
48 views

How can I configure postfix so all e-mails from php mail will also be scanned with spamassassin?

I see a bunch of articles about how to scan mail in postfix from a certain IP address in the network or via submission, etc. But I think php mail uses sendmail and to inject the mail locally. What ...
0
votes
1answer
93 views

how to reject emails with specific subject on Mail server postfix spamassassin?

I have postfix and spamassassin. recently I found an email with subject "XXX" to all company email addresses and aliases. So I was wondering if I can reject sending emails with specific subject "XXX" ...
0
votes
0answers
26 views

Enable spamassassin only for certain domains

I have a postfix/dovecot/spamassassin mail server with virtual users on mysql. The server have more than one domain. I need a way to leave disabled spammassassin by default and enable it only for ...
0
votes
0answers
29 views

Spamassassin and dkimproxy conflict in Postfix

I run my own Postfix server. While I installed spamassassin and followed plenties of tutorials, I never got it working. Today, by coincidence, I made progress master.cf smtp inet n - ...
1
vote
0answers
36 views

Postfix connection refused

So I recently set up Postfix and Dovecot with SpamAssassin for my email server and I tried using telnet to test SMTP and on all SMTP ports (25, 465, 587), I receive connection refused. I've set IP ...
0
votes
1answer
39 views

Spamassassin per user database configured but not used

For each e-mail user I want to use his own bayes database. The databases are located at /home/spamd/[domain]/[user], for example /home/spamd/example.com/testuser with 2 files: bayes_seen and ...
0
votes
1answer
182 views

Mail through virtual alias and alias bounced by spamassassin with user unknown

I have the following entry in /etc/postfix/virtual: v2@mydomain.org tibor@mydomain.org, tracking@works-organiser.com tracking@works-organiser.com tracking.tracking@localhost The following entry in /...
0
votes
1answer
51 views

postfix, spam assassin, swiftmailer

Linux webserver, running a local postfix mail server, PHP web systems on apache. Postfix is configured to pass emails to spampd for spam checking but local networks are exempted: smtp inet n ...
2
votes
1answer
155 views

What is wrong with this Spamassassin META rule?

I am 99.99% sure this rule set of rules used to work fine, but has started throwing up errors if the meta rule at the end is uncommented. This appears to be engine related, as it happens in multiple ...
0
votes
1answer
405 views

Will enabling DKIM for gsuite impact sending emails from 3rd party sender like Mailchimp?

If I enable DKIM for my gsuite domain (mydomain.com) will it impact mails sent from noreply@mydomain.com via 3rd party senders like Mailchimp/Freshdesk etc? My understanding is enabling DKIM for ...
1
vote
1answer
191 views

Dovecot/Postfix Forwarding with spamassassin not working (status=bounced (user unknown))

On Debian 10 I've set up Dovecot and Postfix with Spamassassin working just fine, but when I try to set up forwarding to a remote e-mail with virtual alias, the message bounces. I tried both of the ...
-1
votes
1answer
190 views

I have set up Spamassassin. Only outgoing emails are scanned by spamassassin and not incoming ones

I have set up spamassassin with postfix. The problem is I tried testing the spamassassin default filter by sending the GTUBE spam test email from gmail to my mail server. Spamassassin is not even ...
0
votes
2answers
232 views

How to REJECT email using SpamAssassin

Is it possible to reject emails, like it is done in Postfix using header_checks, using SpamAssassin? Normally, the SpamAssassin only adds the spam flags and by default adds the word SPAM in the ...
1
vote
0answers
91 views

smrsh cannot stat procmailrc

I am attempting to use procmail to route email for virtual users into different folders (specifically, I want to deliver to a user's spam folder if spam assassin assigns a high score). The MTA is ...
1
vote
0answers
31 views

A SpamAssassin filter for empty HTML part

A new kind of spam's been getting through my defenses lately with the following common characteristics: The message itself is of type multipart/mixed with two parts. The body of the spam is in the ...
1
vote
0answers
79 views

spamassasin scoring blatant spam very low

I have spamassassin 3.6.2 setup on kali linux (I'm a pen tester and this is the only linux box I have access to at the moment). I want to use spamassassin to sort through 50,000 or so emails I have ...
0
votes
0answers
32 views

How to apply amavis for all local postfix senders?

I'm using Postfix 3.1.0 on Ubuntu 16.04 and am trying to get amavis to filter my outgoing mail both from sasl authenticated users and for mail forwarded from the server via procmail, using a policy ...
0
votes
0answers
148 views

spamc -r and spamc give different score

Currently, I have spamassassin running on my system. However, for some reason, lots of spam is coming through that does get tagged when I run the spamc command on the CLI. But also, when running with -...
0
votes
1answer
42 views

Postfix (Maia Mailguard) relayhost update ignored

I have a postfix mail server used in conjunction with Maia Mailguard, Amavis, and clamav for spam. I've upgraded the primary mail server and it has a new IP address. I change main.cf and transport to ...
0
votes
1answer
90 views

Spamassassin - Whitelist Domain A to Domain B

I want to whitelist certain domains in spamassassin only if the recipient is also in a specific domain. As far as I can tell from the documentation, there seems to be no way to configure this ...
0
votes
0answers
51 views

ClamAV Anti-Virus not Classifying Virus Emails as Virus

I have installed Sendmail as my SMTP mail server, SpamAssassin as Spam Classifier and ClamAV Anti-Virus. I tested out sending my server a virus email eicar.txt Now I am receiving the virus email in ...
4
votes
1answer
3k views

Valid DKIM but “body hash did not verify” error on Outlook / Hotmail / Live?

Why do I get dkim=fail (body hash did not verify) on Outlook / Hotmail / Live when I have a valid DKIM setup in place? I've made sure that my SPF, DKIM, DMARC records are set up correctly and the ...
0
votes
0answers
336 views

Dovecot are not delivering spam emails to Junk folder - Debian 9, postfix, spamassassin

I followed this answer but the spam emails aren't being delivered to Junk folder My files: /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the ...
1
vote
2answers
516 views

SpamAssassin, Postfix, and Multiple Addresses in From Header

I'm working on a problem that I'm seeing with an email scanning server (MailScanner, Spamassassin, Postfix, etc.), and From header spoofing. Unfortunately, some of the versions of these components ...
0
votes
1answer
133 views

RoundCube sauserprefs plugin shows empty page

CentOS 7. Just installed the sauserprefs (version 1.17.1) plugin for Roundcube (version 1.3.8). The "Spam" tab is added OK. When I click on "Spam" tab, a page opens, where I can see the menu on the ...
1
vote
0answers
143 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 ...
1
vote
0answers
35 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 ...
0
votes
1answer
262 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 ...
0
votes
1answer
160 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: ...
0
votes
1answer
58 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....
1
vote
1answer
215 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 ...
1
vote
1answer
1k 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 someone@spammer.com, but the from field in the header ...
0
votes
1answer
287 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....
-2
votes
1answer
163 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@example-2.com.br hm1480-p-60.example.com [IP-ADDRES-...
0
votes
1answer
172 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: info@mydomain2.com johnDoe However, for the ...
0
votes
1answer
454 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 ...

1
2 3 4 5
8