Skip to main content

Questions tagged [rspamd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
3k views

Do not reject mails with rspamd 1.7+

I want to gradually fade out my spamassassin setup, replacing it with rspamd and I am currently one step away from activating the milter that will actually forward mails to my rspamd instance. Before ...
tr9sh's user avatar
  • 231
4 votes
1 answer
555 views

postfix + rspamd: postfix does not resolve virtual alias

I have a postfix mail server based on Arch Linux. I used the usual configuration: mysql virtual_* (mailbox, alias, domain) and amavisd filtering (content_filter = smtp-amavis:[127.0.0.1]:10024). I ...
Laszlo Malina's user avatar
3 votes
1 answer
2k views

Why does rspamd consider an odd number of URIs in an email to be an indicator of spam?

Rspamd has many email spam heuristics, and one of them is URI_COUNT_ODD. This heuristic seems to just count how many URIs are in the body of the email, and adds 1 to the score if the number is odd. ...
kuilin's user avatar
  • 139
3 votes
1 answer
6k views

How to whitelist individual email address with rspamd

How can a specific from address be whitelisted using rspamd? The address I have in mind is [email protected] so I certainly don't want to whitelist the whole hotmail.com domain since it is the ...
mbrampton's user avatar
  • 361
2 votes
2 answers
3k views

Postfix - Rspamd + amavis

Currently I have Postfix with Amavis, Spamassassin, Clamav and all the bells and whistles up and running. I would like to add RSpamd to the configuration, I don't want to replace Amavis, just keep ...
InToSSH's user avatar
  • 45
2 votes
1 answer
335 views

Rspamd : Blacklists not working consistently

RSPAMD 3.5.2 Using the multimap module I am rejecting certain email addresses via a blacklist: multimap.conf blacklisted_addresses { description = "Blacklisted addresses"; type = &...
Aditya K's user avatar
  • 933
2 votes
1 answer
1k views

DKIM on aliased domains with rspamd and postfix

I'm having trouble DKIM signing my outgoing emails when they're sent from an alias domain. That is, when I'm authenticated with [email protected] sending as [email protected] or [email protected] ...
Arthur Alkmim's user avatar
2 votes
0 answers
812 views

Why/When are some rejected mails not listed in rspamd history

I am seeing mails which are greylisted/rejected by rspamd according to the postfix log which are not shown in rspamd's GUI history. I have two questions: Which are the general cases when mails are ...
wedi's user avatar
  • 408
2 votes
2 answers
1k views

Back up Rspamd Spam/Ham databases

I use Rspamd to filter my emails from spam. The spam filter has already been trained with more than 300.000 emails. Is there a way to save this "knowledge" or transfer it to another system?
br0ken.pipe's user avatar
2 votes
0 answers
394 views

How is an SMTP-Client supposed to behave if he receives an Error from the Server?

Consider the following SMTP-Session: 220 mx.example.com ESMTP Postfix EHLO example.com 250-mx.example.com 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME ...
Subito's user avatar
  • 398
1 vote
1 answer
6k views

RSPAMD + DKIM Signing: How to be able to use a single DKIM Key for multiple domains?

I was able to setup a Single DKIM Key for multiple domains with OPENDKIM by using their KeyTables and SigningTable. But since the company started to use RSPAMD, I could not use OPENDKIM along with ...
busythomas's user avatar
1 vote
1 answer
766 views

Postfix - Send spam to different email address

I've researched for an answer to this question and can't find anything. I have Postfix running on Debian Stretch. I will soon be setting up Rspamd. Here's the logic of what I want to have happen ...
pkSML's user avatar
  • 199
1 vote
1 answer
1k views

How to correctly read the burst and rate for Rspamd Ratelimit?

What is the following rate limit bucket means in /etc/rspamd/local.d/ratelimit.conf? bucket = [{ burst = 10; rate = "30 / 1min"; }] Does it mean like the ...
busythomas's user avatar
1 vote
0 answers
148 views

dovecot + rspamd: learning ham and spam

I have installed my own mail server. It uses postfix, dovecot and rspamd. The delivery of emails is already working excellently, except for learning harmless and spam emails. I found the following ...
Volker Raschek's user avatar
1 vote
0 answers
202 views

rspamd intermittently mark outgoing emails with HFILTER_HOSTNAME_UNKNOWN

We use rspamd to scan our outgoing emails so we can know if there's something wrong with our mail setup. Some of the email is sent through normal mailboxes, others through systems, for instance an ...
mlatk's user avatar
  • 11
1 vote
1 answer
241 views

Rspamd + Redis: Is it necessary to persist Redis database? If yes, how?

I am using rspamd and I have enabled Redis. To my understandind Redis is an in-memory key-value cache for volatile data. However, the rspamd documentation says that the Baysian classifier module uses ...
user2690527's user avatar
1 vote
0 answers
139 views

Include matching rspamd rules in mail headers

Spamassassin has a feature to include the matching rules in the headers of mails flagged as spam, so one can see why the mail was classified as spam and possibly adjust or create mailbox filters that ...
allo's user avatar
  • 1,733
1 vote
1 answer
807 views

Restart rspamd.service as non-root user

I have webpage with button, when user clicks on button, script restart.sh on server is executed. This script contains: #!/bin/bash systemctl restart rspamd.service After clicking on the button, ...
MTC11's user avatar
  • 11
1 vote
1 answer
995 views

Postfix refuses to connect to rspamd on CentOS

I have my mailserver setup configured based on this guideline (German), with the possibly important detail that I use CentOS 8 as a base OS instead of Debian. Everything works fine, except that I ...
dlkmp's user avatar
  • 11
1 vote
0 answers
306 views

rspamd mx_check module flags all mx as invalid

I am currently installing rspamd 1.7.9 on a Debian 9 server. Everything is working except the mx_check module. It always results in MX_INVALID. I already tried increasing the timeout, but I don't ...
MuhKuh's user avatar
  • 151
1 vote
0 answers
168 views

rescore spam corpus with rspamd

I recently tried to rescore my spam/ham corpus with rspamds rescoring mechanism (see the example in "Corpus test and rescore tool"), but unfortunately this ends in a runtime error. My current minimal ...
tr9sh's user avatar
  • 231
0 votes
1 answer
288 views

Postfix and rspamd: Disable bounce email

How do I disable non-delivery notification (bounce mail) in Postfix? I have setup Postfix 3.8.1 with rspamd 3.6. Spam filtering is working admin@host123456:~ $ wget http://spamassassin.apache.org/...
user2690527's user avatar
0 votes
1 answer
433 views

DKIM signing – duplicate header signing in DKIM-Signature

My e-mail messages are DKIM signed but I noticed that the DKIM-Signature header contains duplicated header indicators like: h=from:from:subject:subject:date:date:message-id:message-id:to:to: […] and ...
silverdr's user avatar
  • 101
0 votes
4 answers
2k views

rspamd Whitelis/Blacklist per domain before filtering

since I'm sadly not getting any responses in rspamd's GitHub discussion board, maybe someone here has experience with rspamd prefilter mode. I'm trying to get rspamd to accept any mail coming from a ...
Richard Rosner's user avatar
0 votes
2 answers
868 views

How to disable the default RBLs used by rspamd?

I'd like to use an RBL in rspamd without using all the preconfigured RBLs, but it seems that the configuration in /etc/rspamd/local.d/rbl.conf can only add new lists, not remove the default ones. The ...
allo's user avatar
  • 1,733
0 votes
1 answer
4k views

Postfix - "Server configuration error."

I'm getting this error in my mail log: Feb 29 21:06:14 mail postfix/smtpd[29464]: NOQUEUE: reject: RCPT from mail-vi1eur05olkn2106.outbound.protection.outlook.com[40.92.90.106]: 451 4.3.5 nicolo@...
Nicolò's user avatar
  • 25
0 votes
1 answer
1k views

postfix server on VM - mail relay

I've setup a mail server according to this setup: https://thomas-leister.de/en/mailserver-debian-stretch/ The documentation itself looks quite good to me - is well explained and seems to work... ...
Alexander's user avatar
  • 111
0 votes
0 answers
226 views

DKIM file not found with Rspamd and a DKIM selector map

I am running into an error with Rspamd where my dkim signing file is not being found. The exact error message is dkim_module_load_key_format: cannot load dkim key /var/lib/rspamd/dkim/mydomain.com....
Niels Koop's user avatar
0 votes
1 answer
69 views

PigeonHole/Dovecot configuration for Sieve extension "Spamtest" with respect to "rspamd"

I try to configure the Sieve extension "Spamtest" (see Pigeonhole Sieve: Spamtest and Virustest Extensions) for rspamd. Rspamd is configured to add the extended mail header (...
user2690527's user avatar
0 votes
1 answer
296 views

rspamd and Apache reverse proxy: navigation does not work (fragments in URL have no effect)

I have set up Apache 2.4.57 and Rspamd 3.6 on Ubuntu 23.10. I have configured Apache as a reverse proxy to the controller worker of Rspamd. I can access to Web UI of Rspamd, enter a password and I ...
user2690527's user avatar
0 votes
0 answers
74 views

Writing rules for rspamd to filter by email name and fuzzy score

The situation is as follows. There is whitelisted domain(ours) and we receive letter with the same addresses as ours but with phishing content. Since it's whitelisted it gets the low spam score. Fuzzy ...
Yolo Yolovich's user avatar
0 votes
0 answers
176 views

DMARC and Postfix delivery reports

I successfully set up DMARC, DKIM and SPF for my mailserver's domain, but delivery reports created by Postfix fail the DKIM/SPF tests. The headers of regular messages (sent via my mailserver) look ...
janeden's user avatar
  • 267
0 votes
0 answers
158 views

Config Wizard error in Rspamd on dkim step in Debian Bullseye

Using fresh Debian 11.7 installation I’m trying to setup RSpamd using configwizard, but in the last step of building the private key I got the following error: Do you want to create privkey /var/lib/...
MaxMil's user avatar
  • 101
0 votes
0 answers
205 views

How to apply a ratelimit in rspamd using a selector that matches the sender with domains from a list?

I have created a map UNPOLITE_SENDERS_MAP { type="selector"; symbol="UNPOLITE_SENDER" selector = 'from("smtp","orig"):domain.get_tld'; score = ...
João Silva's user avatar
0 votes
1 answer
962 views

rspamd statistic autolearn configuration

I placed the sample configuration for autolearn from /etc/rspamd/statistic.conf in /etc/rspamd/local.d/classifier-bayes.conf: autolearn { spam_threshold = 6.0; junk_threshold = 4.0; ...
janeden's user avatar
  • 267
0 votes
1 answer
211 views

Learn forwarded E-Mails as Spam if rejected by the receiving external MTA

When having E-Mail addresses that are setup only as forwarding (with SRS) to an external E-Mail address it could happen that the spam filter (rspamd) of my mail server does not classify the incoming E-...
t.niese's user avatar
  • 121
0 votes
0 answers
305 views

Rspamd with Redis and security on a shared server

I'm considering switching from SpamAssassin to Rspamd as everybody raves about it. The feature set like improved bayes filtering and easy greylisting sounds interesting. There's a catch though: Rspamd ...
ygoe's user avatar
  • 143
0 votes
1 answer
163 views

rspamd redis sentinel time out

Since some time we are running rspamd and redis (and sentinel) with a separate DB for most modules. Data seems to be written to the databases but for some reason we get errors like "cannot get masters ...
Lars's user avatar
  • 1
0 votes
1 answer
1k views

override RSPAMD_URIBL for single domain?

I am using rspamd (under mailcow-dockerized) I disagree with a domain RSPAMD_URIBL marks as spam. Is there a way for me to override this domain only? I am in control of a DNS-server.
Lenne's user avatar
  • 1,009
0 votes
2 answers
2k views

UFW is blocking mailserver traffic (dovecot, postfix, MariaDB, Rspamd)

As described in the title, I am running a dovecot/postfix/Rspamd Mailservercombo with a MariaDB behind it. I noticed how, in the last days, I couldn't receive/send any mail from my e-mail clients ...
Art3mis's user avatar
0 votes
2 answers
690 views

new email server configured, Postfix, Dovecot, MariaDB, Rspamd and Redis the main components, on Arch, can't send or receive mail

Dovecot reports logins when trying to send (via T'bird). One of the online email testing sites reported: Server 'HELO' line: 220-mail.mydomain.tld ESMTP Postfix so we know the SMTP service is ready, ...
Mike's user avatar
  • 1