Solved rspamd config

MisterM

Verified User
Joined
Jul 31, 2022
Messages
382
Hello

Question for @zEitEr :

This command can work Rspamadm configwizard to generate a configuration to better manage the message passing, or it is not advised ?

except to do it with "SpamAssassin Setup".

Mz
 
Hello,

OK, the command

Code:
rspamadm configwizard

Performs guided configuration for Rspamd daemon. But why would you want to use it? It does not offer much useful for servers with DirectAdmin at all:

Code:
# rspamadm configwizard
CPU doesn't have SSSE3 instructions set required for hyperscan, disable it
  ____                                     _
 |  _ \  ___  _ __    __ _  _ __ ___    __| |
 | |_) |/ __|| '_ \  / _` || '_ ` _ \  / _` |
 |  _ < \__ \| |_) || (_| || | | | | || (_| |
 |_| \_\|___/| .__/  \__,_||_| |_| |_| \__,_|
             |_|

Welcome to the configuration tool
We use /etc/rspamd/rspamd.conf configuration file, writing results to /etc/rspamd
Modules enabled: whitelist, settings, asn, dmarc, dkim, hfilter, neural, multimap, trie, history_redis, emails, force_actions, forged_recipients, chartable, arc, fuzzy_check, mid, dkim_signing, ratelimit, phishing, maillist, spf, milter_headers, mime_types, once_received, regexp, replies, rbl, bayes_expiry, metadata_exporter
Modules disabled (explicitly): rspamd_update, p0f, aws_s3, dcc, spamtrap, greylist, bimi, external_relay, http_headers, mx_check
Modules disabled (unconfigured): metric_exporter, fuzzy_collect, maps_stats, ip_score, antivirus, external_services, spamassassin, url_redirector, reputation, clickhouse, elastic, clustering, dynamic_conf
Modules disabled (no Redis):
Modules disabled (experimental):
Modules disabled (failed):
Do you wish to continue?[Y/n]: y
Setup WebUI and controller worker:
Controller password is not set, do you want to set one?[Y/n]: n
Do you want to setup dkim signing feature?[y/N]: y
How would you like to set up DKIM signing?
1. Use domain from mime from header for sign
2. Use domain from SMTP envelope from for sign
3. Use domain from authenticated user for sign
4. Sign all mail from specific networks

Enter your choice (1, 2, 3, 4) [default: 1]:
Do you want to sign mail from authenticated users? [Y/n]: y
Allow data mismatch, e.g. if mime from domain is not equal to authenticated user domain? [Y/n]: y
Do you want to use effective domain (e.g. example.com instead of foo.example.com)? [Y/n]: n
Enter output directory for the keys [default: /var/lib/rspamd/dkim/]:
Enter domain to sign: example.com
Enter selector [default: dkim]:
Do you want to create privkey /var/lib/rspamd/dkim/example.com.dkim.key[Y/n]: n
Do you wish to add another DKIM domain?[y/N]: n
File: /etc/rspamd/local.d/dkim_signing.conf, changes list:
sign_authenticated => true
use_domain => header
allow_hdrfrom_mismatch => true
allow_hdrfrom_mismatch_sign_networks => true
allow_username_mismatch => true
domain => {[example.com] = {[selector] = dkim, [path] = /var/lib/rspamd/dkim/example.com.dkim.key}}
use_esld => false

Apply changes?[Y/n]: n
No changes applied, the wizard is finished now
 
I have another question, is it activated a filtering in the message for who against false messages sent by indulgent spammers?

Mz
 
Back
Top