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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Fetch Bounces not working
Pages: [1]

Author Topic: Fetch Bounces not working  (Read 943 times)

mopaska

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: 2.5.19
  • MySQL version: 5.1.73
  • PHP version: 5.3.26
Fetch Bounces not working
June 13, 2014, 03:28:54 pm
I have two separate issues that are both tied to the Fetch Bounces job.

Version info
  • Civi - 4.2.17
  • Joomla - 2.5.19

First issue:
I configure a mail account as follows:
Code: [Select]
Bounce Handler imap.gmail.com bounces@something.com bounces+ something.com IMAP Yes Bounce Processing (Default) When I tell Fetch Bounces to run, I get this:
Code: [Select]
Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Fetch Bounces with result: Failure, Error message: A fatal error was triggered: Could not connect to MailStore
Error message:

An error occured while sending or receiving mail. Failed to connect to the server: imap.gmail.com:993.

Steps taken so far:
  • Ensured that IMAP was enabled on the gmail account
  • Carefully re-entered credentials until I was certain they were correct
  • Followed advice in http://forum.civicrm.org/index.php/topic,32452.0.html
  • Followed a recommendation in an older thread, from 2012 - ensured that CRON jobs were running with appropriate permissions
  • Verified with my webhost that the ports are open

I'm stuck. I've read the threads I could find a couple times over. I'm relaying to you all of the information I know how to obtain - if there are steps that will give me more feedback as to what the cause of the error might be, I will gladly try :)

Second issue:

When I got stuck with GMail, I decided to try using an email address on the domain for the site. I changed the MX records to point back to the site and set up an account for collecting bounces.
What happened is strange. Bounces appeared in the box from a test mailing with bogus addresses. Then I ran fetch bounces...
Code: [Select]
Fetch Bounces
0
Summary
Finished execution of Fetch Bounces with result: Success (a:0:{})
Details

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Fetch Bounces with result: Success (a:0:{})

Except, not a success. The bounce notices were removed from the account's inbox. No civimail/processed folder was created. They didn't end up in trash. Just eliminated. And they were never recorded as bounces in the report for the mailing.

I might have some delay in responding to this thread over the weekend. But I will try to not allow it to go for more than 24 hours without a response.

Important edit related to the second issue: I am trying to use Mandrill as my mail service, sending the bulk mailings through them. Could it be that information is missing from the header in the Mandrill bounce notice that was read / deleted from my Inbox by Fetch Bounces? Civi does have a new contact record of "MAILER-DAEMON" now, that I did not create.
« Last Edit: June 13, 2014, 11:02:56 pm by mopaska »

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Fetch Bounces not working
July 07, 2014, 10:31:28 am
Hi - I went down the same path with Mandrill.  The way they encapsulate bounce messages, does not work with civicrm bounce processing - unfortunately.  You could modify the bounce processor perhaps. 

I thought I could use the webhook portion of the mandrill transaction extension but I've not been able to get that to work. 

I followed the instructions, as you did, for Google apps and that did work.

Be careful to turn IDS off and keep an eye on firewall logs when testing.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Fetch Bounces not working

This forum was archived on 2017-11-26.