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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Unknown bounce type: Could not parse bounce email
Pages: [1]

Author Topic: Unknown bounce type: Could not parse bounce email  (Read 1687 times)

robertjd

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Unknown bounce type: Could not parse bounce email
February 02, 2010, 02:44:07 pm
I recently sent a mailing (800 messages).  120 were a success and the rest reported a bounce with this Bounce Reason:

"Unknown bounce type: Could not parse bounce email"

The problem was that the hosting provider (bluehost.com) only allows 150 messages to be sent per hour.  At that point, sendmail will reject the message.

Alas, this vauge bounce reason really meant "sendmail is rejecting your message" - which answers a question I've had for a while: will CiviMail report a "bounce" even though it was a problem with getting the mail off the server in the first place?  The answer seems to be yes.

P.S. bluehost.com will up your limit to 750/hour if requested.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Unknown bounce type: Could not parse bounce email
February 03, 2010, 02:13:23 am
Quote from: robertjd on February 02, 2010, 02:44:07 pm
I recently sent a mailing (800 messages).  120 were a success and the rest reported a bounce with this Bounce Reason:

"Unknown bounce type: Could not parse bounce email"

The problem was that the hosting provider (bluehost.com) only allows 150 messages to be sent per hour.  At that point, sendmail will reject the message.

Right. Note that you can go to Administer → Administration Console → CiviMail → Mailer Settings and set the ‘Mailer Batch Limit’ to 150 there and the ‘Mailer Spool Period’ to 3600 (seconds). Of course, it might be better for you to set the former to 15 and the latter to 360 (or any other combination).

Quote
Alas, this vauge bounce reason really meant "sendmail is rejecting your message" - which answers a question I've had for a while: will CiviMail report a "bounce" even though it was a problem with getting the mail off the server in the first place?  The answer seems to be yes.

Yes, in this case CiviMail will consider this a ‘hard’ bounce – i.e., a bounce right there on the SMTP level. We use packages/Mail/smtp.php to send CiviMail emails via SMTP – but I’m not sure the error codes returned from there allow us to distinguish between a hard bounce of ‘the localhost server does not allow more emails’ and a hard bounce of ‘the localhost server accepted the email but returned outright that the addressee’s server won’t even receive the email’.

Of course, if you can offer a patch to make it better (or at least have an idea how to make it more intelligent), we’re all ears. :)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

robertjd

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Re: Unknown bounce type: Could not parse bounce email
February 03, 2010, 05:35:06 am
Thanks for the extra info.  Yes, we have now configured batch settings to space out our bulk mailings.

I am using sendmail for this site, does that still use packages/Mail/smtp.php ?

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Unknown bounce type: Could not parse bounce email
February 03, 2010, 10:47:02 pm
Quote from: robertjd on February 03, 2010, 05:35:06 am
I am using sendmail for this site, does that still use packages/Mail/smtp.php?

CRM_Core_Config uses Mail::factory to fetch the right mailer, and I think in your case it yields the one from packages/Mail/sendmail.php.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Unknown bounce type: Could not parse bounce email

This forum was archived on 2017-11-26.