CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Outbound email problems -- slow for SMTP, no bounce processing for sendmail.
Pages: [1]

Author Topic: Outbound email problems -- slow for SMTP, no bounce processing for sendmail.  (Read 3138 times)

fearlsgroove

  • I’m new here
  • *
  • Posts: 25
  • Karma: 2
Outbound email problems -- slow for SMTP, no bounce processing for sendmail.
January 31, 2009, 06:04:34 pm
When sending non CiviMail emails, such as for event registration receipts, membership signups, or even just using "Save and send test email", with SMTP selected, the request takes quite a long time to complete and send the mail - often as much as 30 seconds. However we've never seen any trouble sending emails out and bounces are processed properly.

With sendmail selected as the outbound method it's mighty quick. However when sending out mailings with Civimail, there were quite a large number of returns to addresses which are actually valid. What's more, since it's being sent on localhost, the mail program routed the blocks directly back to sending address rather than the VERP'd return address, so there was no bounce processing on these (actually this was probably good when it happened, since they weren't bad addresses, so shouldn't have been put on hold). I can't get sendmail to fail when doing a one-off test, such as "Save and send test email"

So there's the conundrum - the crappy user experience of waiting 30 seconds for apparently no reason when registering for an event or signing up for a membership is definitely bad, but we'd also like Civimail to work well.

Anyone have any suggestion about how to improve performance of the SMTP option?

If it matters I'm running 2.1.1 (with security patches from 2.1.2 added) and the imap2soap alternate email handling method for Civimail.

THX!@

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Outbound email problems -- slow for SMTP, no bounce processing for sendmail.
February 01, 2009, 06:34:27 am

you should chat with your host about why the long delay with the smtp server

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

fearlsgroove

  • I’m new here
  • *
  • Posts: 25
  • Karma: 2
Re: Outbound email problems -- slow for SMTP, no bounce processing for sendmail.
February 19, 2009, 05:51:05 am
Thanks for the reply .. Lobo, can you (or anyone else) tell me how civi is actually sending the messages? I need a test case to get help from the server admins. A simple php mail() test exhibits no delay.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Outbound email problems -- slow for SMTP, no bounce processing for sendmail.
February 19, 2009, 06:17:37 am

check:

CRM/Utils/Mail.php, function send( )

you can write a small wrapper script to use that function and try to debug the issue on your server

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Outbound email problems -- slow for SMTP, no bounce processing for sendmail.

This forum was archived on 2017-11-26.