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的內容。

相關連結

外部連結