• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue X-Postfix; mail for example.com loops back to myself

Skywatchr

New Pleskian
Server operating system version
Ubuntu 20.04.5
Plesk version and microupdate number
18.0.48
Hi
I am running out of ideas at the moment and I couldn't find any working solution on the web by now.

One server of mine runs Plesk 18.0.48 on a linux system (Ubuntu 20.04.5).
This server's hostname is example.com
The domain example.com is set up in Plesk and the mail service is disabled for it.

The mail for example.com is handled by a different server called mail.example.com

The MX record is correctly set and a host query returns something like:
Code:
name@example:/# host example.com
example.com has address 111.222.333.444
example.com has IPv6 address 2222:3333:4444:5555::666
example.com mail is handled by 1 mail.example.com.
Code:
name@example:/# host mail.example.com
mail.example.com has address 555.666.777.888

When trying to e.g. create a new customer using a mail address [email protected] I receive an error message by mail in the admin mailbox:

Code:
Undelivered Mail Returned to Sender
This is the mail system at host example.
I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can delete your own text from the attached returned message.
The mail system
<[email protected]>: mail for example.com loops back to myself

Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for example.com loops back to myself

In /var/log/maillog:
Code:
Dec  5 13:36:29 example postfix/smtp[34242]: 36CC82333A74: to=<[email protected]>, relay=none, delay=0.08, delays=0.06/0.01/0.01/0, dsn=5.4.6, status=bounced (mail for example.com loops>

How can I solve this and force postfix/plesk to lookup the right MX?
 
Back
Top