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) »
  • Troubleshooting EmailProcessor autofiling problem?
Pages: [1]

Author Topic: Troubleshooting EmailProcessor autofiling problem?  (Read 916 times)

craner

  • Guest
Troubleshooting EmailProcessor autofiling problem?
July 21, 2009, 07:04:10 pm
Hi, I'm running CiviCRM 2.2.7 on Drupal 6.10, php5, mysql 5, and I'm having some problems getting email autofiling working as mentioned in the "Autofiling email activities via EmailProcessor" article.

I have CiviMail enabled and working (I can successfully schedule and send outbound blast emails and individual emails, which get properly noted to the recipient's Activities tab). 

I configured a "Mail Account" to be polled on this site's mail server.  I have triple-checked the server name, username, and password of the account I wish to poll by verifying them in a standalone mail client.  In the "Mail Account" settings page, I have tried enabling and disabling SSL, switching between POP and IMAP, and deleting and re-adding the Mail Account and I still can't get it to work.

I successfully get the EmailProcessor activity to run via cron, but I get the same (bad) results as when I run it via wget/curl, so it's not a cron problem.  I am using the same username/password/key combo I use for CiviMail cron processing, which has permission to "access CiviCRM" and "access CiviMail" - do I need other permissions?

The output is always:

Quote
connecting to $mailserver and authenticating as $username

and that's it (that's me substituting the $mailserver and $username for this post).

The article mentions that folders will be created in <siteroot>/sites/default/files/civicrm/custom but that folder is still empty for me, probably because the process just seems to be hanging at authentication.

Any advice on where to look next?  Thanks!



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: Troubleshooting EmailProcessor autofiling problem?
July 21, 2009, 09:44:51 pm

your best bet would be going in and adding debugging statements in the code to:

bin/EmailProcessor.php

and see where it is hanging and why. If you are not familiar with php, consider hiring someone from http://civicrm.org/professional/

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

craner

  • Guest
Re: Troubleshooting EmailProcessor autofiling problem?
July 21, 2009, 10:10:44 pm
My company is on the list, so I'd feel pretty stupid calling someone else - I'll have Bdragon debug it in the morning when he gets in - I was trying to play developer which usually ends up with me asking Bdragon for help anyway :)

Thanks, Lobo!

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: Troubleshooting EmailProcessor autofiling problem?
July 21, 2009, 10:22:43 pm

oops, sorry. failed to associate your name with CTC :)

ask bdragon to ping us on irc if he has any problems. those set of scripts are fairly new and now in use with a lot of deployments, so i suspect there might be a few bugs in it :)

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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Troubleshooting EmailProcessor autofiling problem?

This forum was archived on 2017-11-26.