Debian
DKIM-過濾無簽名數據
閱讀本教程後,我在 Postfix 上安裝了 DKIM-Filter
我的電子郵件現在有一個 DKIM 簽名,但它仍然在垃圾郵件文件夾中。這是標題
Received-SPF: neutral (google.com: 69.164.193.167 is neither permitted nor denied by best guess record for domain of promote@a2labs.in) client-ip=69.164.193.167; Authentication-Results: mx.google.com; spf=neutral (google.com: 69.164.193.167 is neither permitted nor denied by best guess record for domain of promote@a2labs.in) smtp.mail=promote@a2labs.in; dkim=hardfail (test mode) header.i=@a2labs.in Received: from promote.a2labs.in (localhost [127.0.0.1]) by promote.a2labs.in (Postfix) with ESMTPA id 34858530E8 for <vineet@ivineet.com>; Mon, 28 Feb 2011 12:23:07 +0530 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=a2labs.in; s=mail; t=1298875987; bh=bo+H1VYPIHMja2u7i1lnzr4k/j4Pe8iSf79bVw94XpI=; h=To:Subject:Message-ID:Date:From:Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding; b=nhTdlnUwo0iUJ92ycQzKSRjw 5Pfya0DJcJrAc8Mr2hIv8OLpgzBCzdOMWTGqR5nuUmAzgCGYBhYAM2XZwVxo9JG/iz7 oYKysmNQnskFx0TRyW3UOkDWcfHcPnCL6Y7fGzZWinmsyjsg47k+mKZg/e8jqlwTAMO PYKkt5pBz7SM0=
我的 mail.err 文件也顯示
Feb 28 12:17:03 ivineet dkim-filter[32181]: 1F788530E1: no signature data Feb 28 12:18:02 ivineet dkim-filter[32181]: 432BA530E2: no signature data
如何修復它
查看“無簽名數據”上方的行,是這樣的:
Jul 4 10:33:46 pa04 dkim-filter[29984]: 9A95B340F6C external host localhost.localdomain attempted to send as mydomain.com Jul 4 10:33:46 pa04 dkim-filter[29984]: 9A95B340F6C: no signature data
如果是這樣,請創建文件 /etc/postfix/dkim/hosts ,其中包含要簽名的主機列表,並將以下幾行添加到 /etc/dkim-filter.conf 中:
ExternalIgnoreList /etc/postfix/dkim/hosts InternalHosts /etc/postfix/dkim/hosts
dkim-filter.conf 中“域”的值是多少?在說明實際域時,我遇到了同樣的問題,並且通過使用萬用字元解決了這個問題。
從“Domain mydomain.com”到“Domain *”,保持選擇器和 KeyFile 不變。
希望能幫助到你。