• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Mail forwarding gets forwarded but mail delivery error is also received

A mail loop could be caused by several things:

- is domain2.com an alias for the domain1.com, with mail aliased
- is [email protected] also forwarded in a way that would bring the message back to [email protected], either directly or over several redirects?
 
Hi,

Actually no, only domain1 goes to domain2.

I'm also getting the mail delivery error if I email directly to domain2.

So I think there's something wrong somewhere I can't diagnose.
 

Attachments

  • Immagine.jpg
    Immagine.jpg
    80.1 KB · Views: 1
A sieve filter? Can't think of anything else ATM...

Could you please post the exact error(s) you're seeing? The relevant parts of the /var/log/maillog might help too.
 
Here is the mail delivery error:
------------------------------------------------------------------
This is the mail system at host srvurb01.urbaman.it.

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
-------------------------------------------------------------------
and maillog for two of those transactions
 
Ok, problem solved.

Thing is, I had migrated mailboxes from domain1 to domain2:

1) Activated the forwarding
2) Copied the mailboxes from domain1 to domain2
3) This process also copied the .qmail files (with forwarding configs) from domain1 to domain2

This caused domain2 also being forwarded to domain2 itself, even if Plesk UI did not show the configuration.

I cleared the .qmail files of the wrong configs, and everything got working.

Thank you very much for your time and patience.
 
Back
Top