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) »
  • bounce processing with sendmail
Pages: [1]

Author Topic: bounce processing with sendmail  (Read 871 times)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
bounce processing with sendmail
March 14, 2010, 10:50:06 am
Hi,

I sent a CiviMail recently using sendmail and was suprised to see bounce statistics being recorded.  I was under the impression that to get bounce info, you needed to use SMTP and configure some mailbox checking of a bounce inbox.

That's great that it is not needed.  So how does it work?!
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: bounce processing with sendmail
March 15, 2010, 05:23:13 am
Quote from: michaelmcandrew on March 14, 2010, 10:50:06 am
I sent a CiviMail recently using sendmail and was suprised to see bounce statistics being recorded.  I was under the impression that to get bounce info, you needed to use SMTP and configure some mailbox checking of a bounce inbox.

No, if the ‘bounce’ is caused by the email (most often – its headers) being malformed¹, then it registers right away. In such cases the Mail PEAR library (which we use as a nice common wrapper for both SMTP and sendmail) returns an error, and we treat it like a bounce. I could also imagine some sendmail errors making the Mail library report an error back to us (and, of course, ‘hard’ SMTP bounces – i.e., ones during the initial attempt to send the email – should be registered outright).

¹ or you’re using CiviCRM 3.0.3 or 3.1.2, which had some infamous CiviMail bugs, or you’re mailing a contact with no name, just an email address – this, in turn, will be fixed in 3.0.5/3.1.4…
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.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: bounce processing with sendmail
March 15, 2010, 04:45:52 pm
ah - great answer - thanks :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • bounce processing with sendmail

This forum was archived on 2017-11-26.