OpenDKIM:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
第14行: 第14行:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cd /etc/mail; sudo opendkim-genkey -t -s mail -d example.com
sudo mkdir /etc/opendkim; cd /etc/opendkim; sudo opendkim-genkey -t -s mail -d example.com; sudo chown -R opendkim:opendkim .
</syntaxhighlight>
</syntaxhighlight>



2023年6月30日 (五) 07:31的版本

OpenDKIM是一套实作DKIM的软件。

安装

Ubuntu内可以直接安装:

sudo apt install -y opendkim; sudo apt clean

设定

先产生key pair,其中的-s mailDKIM的selector,预设会产生2048 bit RSA key pair:

sudo mkdir /etc/opendkim; cd /etc/opendkim; sudo opendkim-genkey -t -s mail -d example.com; sudo chown -R opendkim:opendkim .

产生出来的mail.txt是DNS的TXT record的内容。

相关连结

外部链接