Jump to content

Email issue after provisioning hosting plan


Recommended Posts

Not sure if anyone else experienced this issue. I'll try to explain it, hopefully it makes sense...

 

When someone signs up for a hosting account indicating they will use their existing domain and update their nameservers, any system generated emails that are meant for the client stop working after the hosting plan is provisioned.

 

It appears WHMCS is trying to send the emails locally to the server configured in my Setup section. I think WHMCS assumes the nameservers have been switched already. If the client has not updated their DNS, they will never receive any emails from me, including the Hosting account welcome email. In my test scenario, I also purposely did not go through with the payment. This means the client will also not receive any payment reminders.

 

To test this out: Sign up for a new hosting account and indicate your existing domain is example.com (should be something you have access to like a test domain you own). When you do the checkout, use an email account associated with the domain. In our case, use john@example.com.

 

When the hosting account is provisioned, emails to john@example.com are not received by the client until the client switches their DNS to my nameservers.

 

To further test my theory, I created the same email address john@example.com in the client area of my new hosting account, using the Quick Create Email Account section. And then logged in to webmail using that account. The emails that are meant for the client will be received in this account, instead of the true email account associated with their current DNS setup.

 

 

Hopefully that makes sense. I believe it's a bug and have reported it, but wanted to see if anyone else noticed this issue.

Link to comment
Share on other sites

For anyone interested in this issue, I heard back from support. Here's their explanation:

 

This is occurring because the account that's being provisioned uses the "Local Mail Exchanger" on your cPanel server. Historically, WHMCS has not provided a method to define the desired mail exchanger upon creation, and as such it uses cPanel's default (which is local). For security reasons, we recommend against running your WHMCS installation on any of the server's you are provisioning on. This would also prevent emails being sent out using the local mail exchanger on your server.

 

And they were right. After changing the Email Routing setting to Remote Mail Exchanger, the emails came through as expected. This issue really only affects the specific scenario I described. If someone uses an email address not associated with the domain name, then we’re ok.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated