How to set up formmailphp for a split service
Posted on 2013-02-02
I have a client with split Internet service - web at NewTek and MX at Earthlink?Robust Solutions. The formmail script is on a Newtek server under domain name magnolia.com. One of the mail boxes to receive the distributed form mail is email@example.com. I have tried 4 ways to configure the script;
1. Setting up an alias email account, request, on the local NewTek mail server and assigning the form mail to several addresses - most having different domains the themagnolia.com. These results in all the non-themagnolia.com email boxes successfully receiving the form mail. The firstname.lastname@example.org mail gets bounced and never delivered because the mail server looks locally and cannot find since it isn't there. Partial success.
2. Basically the same set up as 1, except the smtp server is moved from the standard shared server to a gateway server. The gateway server should not look for local authentication and send all the mail including email@example.com. At least, that's my theory the results aren't in yet.
3. Within the script, assign the smtp server to an Earthlink mail server. This is still in the themagnolia.com domain space (split MX) but the real mailbox for firstname.lastname@example.org does exist here. Testing this approach results in the Earthlink mail server requesting user name and password to authenticate. The formmailphp script does not contain the ability to pass credentials to this (foreign) email server. So failure here.
4. Same basic setup as 1 except I deleted email@example.com from the distribution list and added a rely mailbox which I opened at gmail. I set the gmail mailbox to automatically forward to firstname.lastname@example.org and auto delete the message. This was a complete success, but it loses serious style points.
My questions are: Does anyone see a better way? Can I modify any of the above to work better? Solution 2 seems the cleanest, is there a reason this wouldn't work?
Sorry about the long preamble. Any help would be greatly appreciated. Name@themagnolia.com is my client, of course, and very interested in getting form mail.