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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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. 那是, if it happens, for small site like me, you put your name server in same vps with your mail server, you will be blocked.
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
1 2 |
sudo sed -i '/zen/d' /etc/exim4/dnsbl.conf sudo systemctl restart exim4 |
現在, your mail server back to live 🙂
本文由 落格博客 原創撰寫:落格博客 » Hestia郵件伺服器只能發送但接收電子郵件
轉載請保留出處和原文鏈接:https://www.logcg.com/archives/3878.html