This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DKIM Problem

I have 2 NIC's with 2 different ISP's (so 2 different IP's). Let's call ISP 1 "WAN 1" and ISP 2 "WAN 2". I'm not allowed ( I can't send or receive) to use a mailserver on WAN 1, so I can only use WAN 2 to send and receive mail. I've enabled Uplink balancing set WAN 1 as first and WAN 2 as second and auto monitoring. Then I made a Multipath Rule: Any->SMTP->Any (by Interface)-> WAN 2.
Then I used the DKIM how to from the Knowledge base and followed all the steps and tests and that worked fine. I have 3 domains which I use. On all zones of the domains I copied the public key, so this should not be a problem.
I can send and receive mail. But when I send to my account at Yahoo.com (which supports Domain Keys) it shows the following:

From Me Wed Apr  8 20:45:36 2009
Return-Path: 
Authentication-Results: mta170.mail.re4.yahoo.com  from=mydomain.com; domainkeys=neutral (no sig); from=; dkim=temperror(d2i_PUBKEY_bio() failed)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=mydomain.com; s=dkim; h=From[:D]ate:To:Message-ID:Subject:
    MIME-Version:Content-type; bh=9LQyMGjDaGPWKTjCng3s3gwVUvcAIHW4dU
    IjbM/m2XA=; b=rjGVsjRn6ZSDWE3KZ2OCWnR+z5j+Xd4FIqyMM5Zlir+288q29f
    y8ZPuW+69yiuZ82TZeUw4UIFBSIeO3qfPGL8z9emLCAwztA4Pzg2B5RwGjnYjqux
    w5yCtstU7uO6c8CA4FHvULRUr5cqzIIdq3W7KlDwrYwjn8h0N5E1tX3hU=

Also when I send a test e-mail to sa-test@sendmail.net and get the following error:
Authentication System:       DomainKeys Identified Mail
   Result:                   DKIM signature confirmed BAD
   Description:              Unrecoverable error during processing; signature data cannot be verified
   Reporting host:           sendmail.net        
   More information:         Domain Keys Identified Mail (DKIM)
   Sendmail milter:          https://sourceforge.net/projects/dkim-milter/

Does anyone know where this problem is caused, so in Astaro or on my DNS server?


This thread was automatically locked due to age.
Parents
  • Astaro was not including the DKIM-Signature unless the private key included the prologue/epilogue:

    -----BEGIN RSA PRIVATE KEY-----
    ***
    -----END RSA PRIVATE KEY-----

    in contrast to the DNS TXT record where only the raw public key is specified (i.e., a continuous string without the prologue/epilogue)
Reply
  • Astaro was not including the DKIM-Signature unless the private key included the prologue/epilogue:

    -----BEGIN RSA PRIVATE KEY-----
    ***
    -----END RSA PRIVATE KEY-----

    in contrast to the DNS TXT record where only the raw public key is specified (i.e., a continuous string without the prologue/epilogue)
Children
No Data