Email - DNS - Cloudflare Error: (public key: not available)

Discussion in 'Installation/Configuration' started by nekic, Feb 3, 2020.

  1. nekic

    nekic New Member

    Hello,
    i use latest ISPConfig with cloudflare. So far so good, all works except sending emails. I think there is some DNS issue, but not sure where to start.

    When I send e-mail to gmail address:

    Code:
        The mail system
    
    <[email protected]>: host gmail-smtp-in.l.google.com[74.125.195.27] said:
        550-5.7.26 This message does not have authentication information or fails
        to 550-5.7.26 pass authentication checks. To best protect our users from
        spam, the 550-5.7.26 message has been blocked. Please visit 550-5.7.26
        https://support.google.com/mail/answer/81126#authentication for more 550
        5.7.26 information. 17si8672775pfj.280 - gsmtp (in reply to end of DATA
        command)
    Reporting-MTA: dns; panel.Mysite.info
    X-Postfix-Queue-ID: 93A468191C
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Mon,  3 Feb 2020 15:19:45 +0000 (UTC)
    
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.7.26
    Remote-MTA: dns; gmail-smtp-in.l.google.com
    Diagnostic-Code: smtp; 550-5.7.26 This message does not have authentication
        information or fails to 550-5.7.26 pass authentication checks. To best
        protect our users from spam, the 550-5.7.26 message has been blocked.
        Please visit 550-5.7.26
        https://support.google.com/mail/answer/81126#authentication for more 550
        5.7.26 information. 17si8672775pfj.280 - gsmtp
    Here is output for testkeys
    me@panel:~# amavisd-new testkeys
    TESTING#1 mydomain.info: default._domainkey.mydomain.info => invalid (public key: not available).
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Have you set up a SPF, DKIM, and DMARC record? And a PTR (reverse DNS) record for your IP adress?
     
    nekic likes this.
  3. nekic

    nekic New Member

    Hello,

    thank for reply. Can you send me some guide for setting those records? I can google them, but im not sure where to add them. To ISPConfig, or Cloudflare?
    Thank you for your time!

    EDIT: solved adding SPF records with help https://mxtoolbox.com/SPFRecordGenerator.aspx
     
    Last edited: Feb 3, 2020
    ahrasis likes this.
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Is your DNS hosted by cloudflare? Then you have to add it there. If you host your own nameservers, you'll have to do it yourself. Your PTR is setup with your hosting provider.
     

Share This Page