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) »
  • Strange EmailProcessor behaviour
Pages: [1]

Author Topic: Strange EmailProcessor behaviour  (Read 918 times)

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Strange EmailProcessor behaviour
February 08, 2012, 08:29:25 pm
I am using a gmail account as my bounce / replies processor, and I'm getting some strange behaviour.

For some reason, when EmailProcessor runs, it correctly identifies bounces, but then seems to copy the reply over and over and over again inside the return mailbox. It doesn't actually stop running, and if I leave it for a minute and come back to my inbox, I now have 20 or 30 of the exact same message, and the mailing report shows 20 or 30 replies where only 1 was actually made.

My code to run the EmailProcessor is:
 
Code: [Select]
wget -O - -q -t 1  --post-data='name=username&pass=password&key=key' "http://example.com/sites/all/modules/civicrm/bin/EmailProcessor.php"

My configuration settings for my Mail Account in CiviMail are:
Server: imap.gmail.com
Username: membership@example.com (Google Apps, so it is our own domain, not gmail.com)
Password: password
Localpart: membership+
Email Domain: example.com
Return Path:
Protocol: IMAP
Source:
Use SSL: Yes
Used For: Bounce Processing

Anyone seen this before?

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: Strange EmailProcessor behaviour
February 09, 2012, 10:45:11 am

Seems like after processing an email, it copies it back to the same folder rather than moving it to the ignored or processed folder.

Can u debug the script and see what it does when executing markIgnored or markProcessed. definitely is strange behavior :(

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

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Strange EmailProcessor behaviour
February 09, 2012, 01:22:14 pm
I'll try and have a look tonight. Thanks for the starting point.

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Strange EmailProcessor behaviour
February 12, 2012, 08:27:21 am
Still haven't figured out what was going on, but once I switched the the crontab method instead of wget straight from the command line, everything worked fine.

http://en.flossmanuals.net/civicrm/ch042_system-configuration/


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

This forum was archived on 2017-11-26.