You can disable modules by setting `enabled = false` inside
local.d/modulename.conf[0]. But especially if you just want DKIM
signing, or just a specific subset of features that diverges too far
from rspamd's defaults it gets really unwieldy. Then again, as the
author of filter-dkimsign I am a bit biased. :-)

And if you want a nice package... filter-dkimsign is also packaged
on alpine[1]. It even looks like they made their own dkimsign-genkey
script which puts my instructions for the OpenBSD package as mentioned
by noodle into code.[2]

martijn@

[0] https://docs.rspamd.com/faq/#how-do-i-disable-a-module
[1] 
https://pkgs.alpinelinux.org/package/edge/community/x86_64/opensmtpd-filter-dkimsign
[2] 
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/opensmtpd-filter-dkimsign/dkimsign-genkey

On 1/31/26 05:51, Sagar Acharya wrote:
> I am using rspamd. What is the way to use it just to sign the dkim and leave 
> the rest features?
> 
> There is a nice package for OpenSMTPD on Alpine for it.
> 
> On 30 जनवरी 2026 11:32:40 pm IST, [email protected] wrote:
>> Quoth Sagar Acharya <[email protected]>:
>>> What is the best way to setup DKIM for OpenSMTPD? GMail requires all mail 
>>> domains to have DKIM.
>>>
>>> Is it necessary in your view?
>>
>> Yup, PTR, SPF, DKIM, and DMARC are the bare minimum needed to not get
>> blocked by Big Mail™.  I use the opensmtpd-filter-dkimsign OpenSMTPD
>> filter to sign my outgoing mails.  The readme[1] it installs should
>> explain how to set it up.  If you get stuck check out these two
>> guides,  they use rspamd for DKIM signing but you can apply the same
>> general principles with opensmtpd-filter-dkimsign with the readme on
>> hand:
>>
>> https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/
>>
>> https://dataswamp.org/~solene/2024-07-24-openbsd-email-server-setup.html
>>
>> Goodluck :)
>>
>> [1] /usr/local/share/doc/pkg-readmes/opensmtpd-filter-dkimsign
>>
>>> ===============
>>> Thanking you
>>> Sagar Acharya
>>> https://whitelist.co.in
>>>
>>
>> --
>> noodle
>>
> 
> ===============
> Thanking you
> Sagar Acharya
> https://whitelist.co.in
> 


Reply via email to