Weird issue from hotmail and office 365 mails.

Discussion in 'Installation/Configuration' started by ozgurerdogan, Feb 16, 2021.

  1. ozgurerdogan

    ozgurerdogan Member

    I noted that mails from hotmail.com and office 365 are being recieved randomly late between 5minutes - couple hours.
    Is there any issue from hotmail side? Mail from yandex, gmail or some other servers are fine.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Take a look at your mail.log (/var/log/mail.log) to see when the email first comes in and what happens with it.
     
  3. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Also /var/log/rspamd/rspamd.log if using rspamd (which can greylist).
     
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

    did you enabled greylistening for the recipient? you may have to update the whitelisted ips for greylistening in /etc/postgrey/whitelist_clients
     
  5. ozgurerdogan

    ozgurerdogan Member

    I do not use greylisting. Mail log does not appear in /var/log/mail.log when client gets mail then I can see logs there. I do not use rspamd (but think of swtiching to it. Can I do it simply by selecting it in admin options?)
    Other mails from like gmail.com comes quickly. I event tried disabling in postfix but no change:
    content_filter = lmtp:[127.0.0.1]:10024
    receive_override_options = no_address_mappings

    Totally stucked :)
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  7. ozgurerdogan

    ozgurerdogan Member

    what if mail appears in log late?
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Then there is a delay with hotmail, or maybe a misconfiguration in your system which makes it unable for them to reach you sometimes.
     
  9. ozgurerdogan

    ozgurerdogan Member

    I can not reproduce it with other isp config servers. So probablly something unstable maybe.
     
  10. ozgurerdogan

    ozgurerdogan Member

    I found the issue. I was setting mail dns record as CNAME record. After changing it to A record from Cloudflare. Mail are coming fast. Very interesting.
     
  11. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Yes, cname records are not allowed.
     

Share This Page