Le 24/09/2020 à 14:42, Uwe Werler a écrit :
> On 24 Sep 11:33, Unicorn wrote:
>> Also, how does dkim signing with rspamd work for multiple domains?
>> Right now my /etc/rspamd/local.d/dkim-signing.conf looks like this:
>>
>> ##############################################################
>> allow_username_mismatch = true;
>>
>> domain {
>>     firstdomain.tld {
>>         path = "/etc/mail/dkim/firstdomain.tld.key";
>>         selector = "blah";
>>     }
>> }
>> ##############################################################
>>
>> Will it work automatically by simply entering eg. 'seconddomain.tld
>> {...}' with its respective keyfile and selector?
> You need a current filter for that. I have:
>
> filter "dkimsign" proc-exec "filter-dkimsign -d domain1.tld -d domain2.tld \
> -d domain3.tld -s dkim_selector -k /etc/mail/dkim/dkim.key" \
> user _dkimsign group _dkimsign
>
> Note that you can specify the selector only once.
>
> See: https://undeadly.org/cgi?action=article;sid=20200920073933
Or you can just keep rspamd and do as you intended. See in my post for
another rspamd option.

Reply via email to