User Tools

Site Tools


rspamd_installieren_und_dkim_key_erstellen

This is an old revision of the document!


rspamd und DKIM

apt install rspamd<code>

Dann als nächstes den DKIM Key erzeugen. Falls Eurer DNS Server keine 2048 Bytes langen KEys handeln kann, ändert es ab auf 1024. Hetzner kann damit umgehen.

<code>
mkdir /var/lib/rspamd/dkim/
rspamadm dkim_keygen -b 2048 -s 2021 -k /var/lib/rspamd/dkim/2021.key > /var/lib/rspamd/dkim/2021.txt
chown -R _rspamd:_rspamd /var/lib/rspamd/dkim
chmod 440 /var/lib/rspamd/dkim/*

Ich nehme als Bezeichner für den Key das Jahr in dem ich ihn erstellt ahbe, aber das kann man handeln wie man will. Den fertigen DNS Eintrag bekommt ihr mit:

cat /var/lib/rspamd/dkim/2021.txt
rspamd_installieren_und_dkim_key_erstellen.1613039195.txt.gz · Last modified: 2021/02/11 10:26 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki