大网数据广告活动
服务器运维问答

Do not reject mails with rspamd 1.7+

· 52CE 我爱测

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 I do that I would like to tes…

问题原文

原帖链接 · tr9sh · CC BY-SA 4.0

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 I do that I would like to test if rspamd is accidentally being too conservative or too lax. I have modified spam_header in local.d/worker-proxy.inc so it wont override spamassassins output and I upped the reject actions threshold to 30. While this should do it in theory, it would be nice to never reject any mails, just to be on the safe side.

Is there a way to instruct rspamd to never reject mails and only set the spam headers?

已采纳解答

原帖链接 · tr9sh · CC BY-SA 4.0

You can set reject to null in /etc/rspamd/override.d/actions.conf:

# /etc/rspamd/override.d/actions.conf
reject = null;

On older versions of rspamd this had to be done in /etc/rspamd/override.d/metrics.conf and before version 1.6 there was spamd_never_reject

The current way to achieve this can be found here.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-05-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。