Questions tagged [rspamd]
The rspamd tag has no usage guidance.
40
questions
1
vote
1
answer
34
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 ...
0
votes
1
answer
16
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 (...
0
votes
0
answers
65
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 ...
0
votes
1
answer
59
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/...
0
votes
0
answers
23
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 ...
0
votes
0
answers
57
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 ...
0
votes
1
answer
108
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 ...
0
votes
0
answers
105
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/...
1
vote
1
answer
125
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 = &...
0
votes
0
answers
82
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 = ...
0
votes
0
answers
59
views
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 ...
0
votes
0
answers
127
views
rspamd SPAMTRAP module cannot add fuzzy rules
I like to use the rspamd Spamtrap module, but it seems it cannot add rules for fuzzy matches. I get the following error
call to (SPAMTRAP_CHECK) failed (2): /usr/share/rspamd/plugins/spamtrap.lua:54: ...
0
votes
4
answers
921
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 ...
1
vote
0
answers
101
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 ...
0
votes
2
answers
504
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 ...
1
vote
1
answer
568
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, ...
0
votes
1
answer
732
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;
...
3
votes
1
answer
1k
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. ...
0
votes
1
answer
180
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-...
0
votes
0
answers
248
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 ...
1
vote
1
answer
843
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 ...
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 ...
0
votes
2
answers
622
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, ...
0
votes
1
answer
3k
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@...
0
votes
1
answer
138
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 ...
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... ...
0
votes
1
answer
895
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.
2
votes
0
answers
646
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 ...
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 ...
2
votes
1
answer
922
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] ...
1
vote
1
answer
5k
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 ...
3
votes
1
answer
5k
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 ...
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?
4
votes
1
answer
517
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 ...
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 ...
1
vote
0
answers
272
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 ...
4
votes
1
answer
2k
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 ...
1
vote
0
answers
150
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 ...
1
vote
1
answer
734
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 ...
2
votes
0
answers
367
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
...