I have websites with contact forms that use SMTP to send notification emails. The forms authenticate to a dedicated [email protected] account on each domain. The local [email protected] account doesn't need to receive email, it's only meant for SMTP outgoing. It works great when I'm using the Local Mail Exchanger setting in cPanel. But I run into problems when a site uses the Remote Mail Exchanger.
For instance, example.com has DNS and email on Bluehost, with the A record pointed at my cPanel server. A form on example.com authenticates via SMTP to the local [email protected] account. Form notifications are emailed to [email protected], which is on another server. Therefore I use "Remote Mail Exchanger", but then I get this error:
DN="/CN=*.bluehost.com": SMTP error from remote mail server after RCPT TO:<[email protected]>: 550-Verification failed for <[email protected]>\n550-No Such User Here\n550 Sender verify failed
So when I select Remote Mail Exchanger, that also effects the outgoing mail and it's trying to connect to bluehost instead of my local account.
Is there a way for the form to connect to it's local SMTP, but still have incoming mail to the same domain go to the remote server?
For instance, example.com has DNS and email on Bluehost, with the A record pointed at my cPanel server. A form on example.com authenticates via SMTP to the local [email protected] account. Form notifications are emailed to [email protected], which is on another server. Therefore I use "Remote Mail Exchanger", but then I get this error:
DN="/CN=*.bluehost.com": SMTP error from remote mail server after RCPT TO:<[email protected]>: 550-Verification failed for <[email protected]>\n550-No Such User Here\n550 Sender verify failed
So when I select Remote Mail Exchanger, that also effects the outgoing mail and it's trying to connect to bluehost instead of my local account.
Is there a way for the form to connect to it's local SMTP, but still have incoming mail to the same domain go to the remote server?
Last edited by a moderator: