-
Notifications
You must be signed in to change notification settings - Fork 27
Move from rmilter to rspamd #25
Comments
Ok after investigating this a bit the issue is that we would need some patches upstream ( Another note is that rspamd has some really fancy features to the point where it maybe is a overkill for a Simple Nixos Mailserver. Some of the statistics also rely on databases (given sqlite databases), so strictly speaking it goes against the goals of the project -- even though I doubt anyone is worried about backing up spam statistics. Another possibility would be to move to a different milter system, maybe just basic opendkim, clamav and spam assassin. Opinions are very welcome! |
I am in favor of rspamd. It also provides very useful statistics graphically. |
NixOS/nixpkgs#31734 upstream patch. Kind of unclear what we are supposed to do until it lands in a stable release though. |
rspamd 1.6.5 is now in unstable so the transition can begin |
By the way, you can remove OpenDKIM completely if you switch to the recent Rspamd. |
@vstakhov, we use opendkim only for key creation right now, rmilter does the signing. Thanks for pointing it out though! |
Rmilter also uses libopendkim. Rspamd does not uses it on the contrary.
Hence, if you throw off Rmilter you won't need any traces of opendkim as
well. Rspamadm tool from rspamd distribution can generate dkim keys and DNS
records.
…On 16 January 2018 12:40:41 pm Robin Raymond ***@***.***> wrote:
@vstakhov, we use opendkim only for key creation right now, rmilter does
the signing. Thanks for pointing it out though!
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#25 (comment)
|
Looks like 18.03 is out as of yesterday: https://groups.google.com/forum/#!topic/nix-devel/7bRK8FUcC5s |
So that's why the spam filtering doesn't work on 18.03 |
I am seeing
in my logs when I try to send a message. Therefore I'm unable to send emails right now. |
I'm sorry to hear that. Are you on 18.03? In this case the best bet would be to turn off spam filtering all together. |
No, I'm on unstable. Disabled the rmilter service for now. |
Some related work: |
For those who are running unstable, with the following change to the upstream nixos/rmilter: temporarily accept on failure
1 file changed, 2 insertions(+)
nixos/modules/services/mail/rmilter.nix | 2 ++
modified nixos/modules/services/mail/rmilter.nix
@@ -179,6 +179,8 @@ in
smtpd_milters = ${rmilterSocket}
milter_protocol = 6
milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
+ # skip mail without checks if something goes wrong
+ milter_default_action = accept
'';
};
}; Otherwise it will reject mails with I haven't disabled the |
#90 (comment) I have spam filtering working in 18.03 with this rather kludgey workaround, if it helps |
This is a thing: NixOS/nixpkgs#40434 |
With rmilter being deprecated, we should move the scanning system over to rspamd
The text was updated successfully, but these errors were encountered: