Emails generated by the site taking hours to send

Permalink
I recently moved a site from a Shared host to a VPS in "The Cloud" and have noticed a massive increase in site speed. My only remaining problem (there were lots)is that emails generated by the site take ages to arrive.

I sent a test email through the core Contact Form and it took nearly five hours to arrive in my inbox but shows up in Reports instantly. Similarly with the ecommerce block, but these are not sending at all so far. Ordered products at 10.30 am & now 4.40pm and no ecommerce emails, but I might post that query in the support section.

I don't know if this is relevant but the new VPS seems to be running 5 hours behind us in Ireland, running on EST I think. Could it have anything to do with that that the emails take five hours to send?

PassionForCreative
 
olliephillips replied on at Permalink Reply
olliephillips
If you're not running your email services on the VPS which it sounds like you're not, might be worth asking your email provider if it could be "greylisting" mail from your server. The time delay would be typical of that. You might try sending the emails to another email address to diagnose also.
MatrixJ21 replied on at Permalink Reply
Yeah, I have an email with a shared host, and my emails were taking a very long time to recieve. I got them to turn greylisting off, and the speed increase was almost immediate, so I +1 the answer above.
PassionForCreative replied on at Permalink Reply
PassionForCreative
Hi Guys,

No Greylisting in place according to the mail server host. Any other suggestions?
drm replied on at Permalink Reply
drm
How is your mail configured in Concrete5 -> Dashboard -> Sitewide Settings -> Email?

If it's set to default PHP mail..The problem could be an error in the VPS configuration that is keeping mail queued up on the VPS. If you have command line access or access to see the VPS mail queue, look at it right after submitting a form and seeing if it's sitting in the mail queue.

If it's not OR if you're configured for an external SMTP server..then the problem could be on the SMTP providers end. Again, the mail could be sitting in a large queue due to a number of reasons.

Finally you'd look at the host that actually receives the email on your behalf. They may have an internal queue that is backed up or causing delays for whatever reason.
PassionForCreative replied on at Permalink Reply
PassionForCreative
Thanks DRM, great advice. Will look into VPS settings now to see if any of these issues are to blame.

Thanks for taking the time to post.