Since switching from an Ensim server running Sendmail and MailScanner to a cPanel one running Exim and ASSP, a significant number of mails from a local user fail to deliver for this reason:
CODE
The mail server could not deliver mail to
someone@somewhere.com. The account or domain may not
exist, they may be blacklisted, or missing the proper dns entries.
someone@somewhere.com. The account or domain may not
exist, they may be blacklisted, or missing the proper dns entries.
These recipients have placed online orders and paid for the goods, so it's unlikely that their accounts do not exist, and I've checked that the domains are OK, so that leaves blacklisted, or missing the proper dns entries. ASSP is is not blacklisting the domains, and rbl_domains is commented out in exim.conf. The most likely cause is this entry in exim.conf:
CODE
#
# Trap Failures to Remote Domain
#
fail_remote_domains:
driver = redirect
domains = ! +local_domains : ! localhost : ! localhost.localdomain
allow_fail
data = ":fail: The mail server could not deliver mail to $local_part@$domain.
The account or domain may not exist, they may be blacklisted, or missing the
proper dns entries."
# Trap Failures to Remote Domain
#
fail_remote_domains:
driver = redirect
domains = ! +local_domains : ! localhost : ! localhost.localdomain
allow_fail
data = ":fail: The mail server could not deliver mail to $local_part@$domain.
The account or domain may not exist, they may be blacklisted, or missing the
proper dns entries."
Can anyone advise me how to bypass that trap, and if doing so might have dangerous side effects? (I would have posted this at exim-users.org, but that site has disabled new user registration.)
Thanks!