[EMAIL PROTECTED] writes:
Whenever I attempt to send a bad esmtp email and it fails (as expected), I recieve the following error:
Nov 5 20:06:46 helen courieresmtp: id=0002D02D.418C23A6.00000526,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>: configuration error: mail loops back to myself (MX problem)
The loop error only appears when the original delivery is a failure. If it's successful, everything works fine.
Can anyone explain why this is happening?
The message is addressed to a recipient, in your example it's <[EMAIL PROTECTED]>, whose mail domain, "helen", is not recognized as a local mail domain, because it does not appear in the locals or the hosteddomains file.
Therefore, the recipient address has to be delivered via SMTP. However, the MX record for the mail domain, "helen", is looked up and the MX record indicates that the primary mail server for the mail domain is the same machine, therefore the mail must be delivered locally, which is now an obvious configuration error, either in DNS or in your configuration files.
pgpK62hUA8DXx.pgp
Description: PGP signature
