Search code examples
unixmail-serverpostfix-mtadkimdebian-jessie

Multiple DKIM signatures in message?


I'm checking my postfix setup with mail-server.net. I have SPF, DKIM, and DMARC setup and working. However, mail-server.net is claiming I have 2 DKIM signatures in a single message. How is this possible? Here's what my DNS records looks like:

Name Value TTL Options v=spf1 mx -all Default Edit | Remove

201705._domainkey v=DKIM1; h=sha256; k=rsa; s=email; p=MIIBIjANBgk...

_adsp._domainkey dkim=all

_dmarc v=DMARC1;p=quarantine;sp=quarantine;adkim=r;aspf=r;fo=1;rf=afrf;rua=mailto:alescher@adventurecatsnw.com

As you can see, I've only included one DKIM signature key in the txt record. I'm using opendkim as the DKIM signer. I've only one key in the key.table record and one entry in the signing.table record. Does anyone have any ideas as to what could be the issue?


Solution

  • My error was in /etc/postfix/master.cf and now its fixed.

    This was my first postfix install and I had:

    smtp      inet  n       -       n       -       -       smtpd -o content_filter=spamfilter
    smtps     inet  n       -       n       -       -       smtpd -o content_filter=spamfilter
    submission inet n       -       n       -       -       smtpd -o content_filter=spamfilter
    

    I changed this to:

    smtp      inet  n       -       n       -       -       smtpd 
    smtps     inet  n       -       n       -       -       smtpd
    submission inet n       -       n       -       -       smtpd -o content_filter=spamfilter
    

    Good luck!