DKIM stopped working

Discussion in 'Installation/Configuration' started by Cecik, Jul 31, 2014.

  1. Cecik

    Cecik New Member

    Hello,

    we have a problem.
    Long time ago, we set up DKIM for 3 domains, everything was ok,
    gmail didnt recieve it into SPAM.

    But now its moving into SPAM.
    Where could be problem?

    We tried to update to the newest version (0.3.2),
    everything seems to be fine (we tested keys > pass).
    Ofcourse we tried to regenerate them a few times.

    But Gmail is receiving into SPAM.

    Thanks for read and reply.

    If it helps, below you can see dns records:

    A ftp 37.157.197.143 0 1800
    A mail 37.157.197.143 0 1800
    A nakupher.cz. 37.157.197.143 0 1800
    A ns 37.157.197.143 0 1800
    A ns1 37.157.197.143 0 1800
    A www 37.157.197.143 0 1800
    AAAA nakupher.cz. 2a02:2b88:2:1::228a 0 1800
    MX nakupher.cz. mail.nakupher.cz. 0 1800
    NS nakupher.cz. ns1.nakupher.cz. 0 1800
    NS nakupher.cz. ns.nakupher.cz. 0 1800
    PTR 37.157.197.143 nakupher.cz. 0 1800
    PTR 37.157.197.143 mail.nakupher.cz. 0 1800
    TXT mail.nakupher.cz. v=spf1 mx -all 0 60
    TXT nakupher.cz. v=spf1 include:_spf.google.com ~all 0 60
    TXT oldnakupher._domainkey.nakupher.cz. v=DKIM1; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLJZGaAoo2EGTB0jfbDYrromB34NOaNuw5wtylqKHVTM4oQ9pIUZm3HXNLC29pq3MxE7jsoCOUhxXhOWN7nrK6Qgpf4hnuAGpJwsVYx1LlhMWsvS6yYTE6y4XNaFuNhQEVjMBBRkRVrD/05UTZ8+xM163fuCzA9WXSAHHm6OJvlQIDAQAB 0 60

    And testing keys:
    And log email:
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Your amavis didn´t sign the mail:
    Code:
    Jul 31 21:03:37 vm8842 amavis[21847]: (21847-05) Passed CLEAN, <obchod@nakupher.cz> -> <nakupher.cz@gmail.com>, Message-ID: <0acc480707ae0162d678b3b31ffa3d7f@www.nakupher.cz> , mail_id: MtxfVTTtX0xd, Hits: -0.001, size: 1264, queued_as: 5892E20736, 460 ms
    
    If the mail was signed by amavis, you should see something like
    Code:
    queued_as: 5892E20736, dkim_new=XXX
    in the log.

    You should also run
    Code:
    amavisd-new testkeys
    to check that everything is fine with your key-pairs. I don´t know why you regenerate the keys a few times, but did you also update the dns-record?
     
    Last edited: Aug 1, 2014

Share This Page