IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Hestia mail server can only send but receiving email

    R0uter发表于 2025-01-09 07:24:10
    love 0

    去落格博客阅读完整排版的Hestia mail server can only send but receiving email

    最近更新:9th 1 月, 2025

    I just fix another problem that after setup my email server, it cannot receive any incoming email. If you test with a hotmail, you can get reject notification says office is in the black list of the server like this:

    ip-172-26-5-111.ap-southeast-2.compute.internal rejected your message to the following email addresses:
    
    admin@airportblisscars.com.au (admin@airportblisscars.com.au)
    Your message couldn't be delivered because the recipient's email server (outside Office 365) suspected that your message was spam. To fix this, try to modify your message, or change how you're sending the message, using the guidance in this article: E-mailing Best Practices for Senders. Then resend your message. If you continue to experience the problem, contact the recipient by some other means (by phone, for example) and ask them to ask their email admin to add your email address or your domain name (the text after the "@" symbol in your email address) to their allowed senders list.
    
    For Email Admins
    When Office 365 tried to send the message to the next email server outside of Office 365 the external email server returned the error below. This indicates the recipient's email server (or their email filtering service) suspected the sender's message is spam. If the sender isn't able to fix the problem by modifying their message then contact the recipient's email admin and ask them to add your domain name, or the sender's email address, to their list of allowed senders.
    
    While the sender may be able to alter the message contents to fix this, it's likely that only the recipient's email admin can fix this problem. Unfortunately, Office 365 support is unlikely to be able to help fix these kinds of externally reported errors.
    
    
    
    ip-172-26-5-111.ap-southeast-2.compute.internal gave this error:
    Remote server returned message detected as spam -> 550 Rejected because 40.92.107.48 is in a black list at zen.spamhaus.org;Error: open resolver; https://check.spamhaus.org/returnc/pub/3.105.5.63/

    So I noticed the keyword: zen.spamhaus.org

    This is a spam block list service tho, I m pretty sure big company mail box ip is not in that list, but why?

    So I checked their website, so they have a service called DNSBL, in short, they put those blocked ip address in a dns way, so you can easily query and determine if this is a bad ip for email server. And this service is included in EXIM4 in default.

    Here comes the nightmare

    So they require non-commercial and non-dns server request. That is, if it happens, for small site like me, you put your name server in same vps with your mail server, you will be blocked.

    dnsbl requires non public name server to do the request

    dnsbl requires non public name server to do the request

    That’s way, your mail server rejecting everything bcs it gets nothing from dnsbl.

    It also happens if your server has bad access to their dns tho, like ISP block or something

     

    Let’s disable this function

    sudo sed -i '/zen/d' /etc/exim4/dnsbl.conf
    sudo systemctl restart exim4

    Now, your mail server back to live 🙂

    Hestia mail server can only send but receiving email,首发于落格博客。

    其他推荐:
    1. Hestia add spamassassin and clamav
    2. Fix apple Mail app slow on start
    3. imapsync 邮箱迁移 Plesk 到 Hestia
    4. 把 Ubuntu Server 滚动更新 到 16.04
    5. snap nextcloud with Nextcloud Office



沪ICP备19023445号-2号
友情链接