• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Email rejected due to my server send local NAT IP in header

cloudhostpk

New Pleskian
Installed mail server: Postfix
OS: Ubuntu 20.04
Server is behind the firewall using NAT and public IP is configured in Tools & Settings => Tools & Resources => IP Addresses.
Email are rejected by recipient mail server due to my server send local IP in header.

Error log:
host cp.MyDomain.com[127.0.1.1] said:
554 5.7.1 < cp.MyDomain.com [10.0.0.X]>: Client host rejected:
Access denied (in reply to RCPT TO command)

Note*: hostname and local ip is modified in logs

IP 10.0.0.X is internal local address not public IP configured in Tools & Settings => Tools & Resources => IP Addresses

Thanks in advance, please help if anyone know the solution.
 
You've probably already tried this, but if you haven't on the Server-Wide Mail Settings (Tools & Settings > Mail Server Settings) about halfway down you can specify in the "Outgoing Mail Mode" what you want put in the header. The options it gives you are shown below. I personally use option 3.

Outgoing mail mode
  1. Send from domain IP addresses
  2. Send from domain IP addresses and use domain names in SMTP greeting
  3. Send from the specified IP addresses

HTH,
Justin
 
You've probably already tried this, but if you haven't on the Server-Wide Mail Settings (Tools & Settings > Mail Server Settings) about halfway down you can specify in the "Outgoing Mail Mode" what you want put in the header. The options it gives you are shown below. I personally use option 3.

Outgoing mail mode
  1. Send from domain IP addresses
  2. Send from domain IP addresses and use domain names in SMTP greeting
  3. Send from the specified IP addresses

HTH,
Justin
I tried 1st and 2nd option, still same sending with local IP. In 3rd option, only local IP showing in list.
 
Please ignore this post. This issue has been further diagnosed and found issue is not as discussed here in this post.
For issue with detailed information can be view at
 
Back
Top