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) »
  • CiviMailProcessor.php username and/or password error
Pages: [1]

Author Topic: CiviMailProcessor.php username and/or password error  (Read 874 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
CiviMailProcessor.php username and/or password error
November 03, 2010, 05:35:38 am
Hello folks,

I am getting the following error report from CiviMailProcessor.php running on 2.2.9.  (I wish they would upgrade but they don't want to at the mo and it isn't on my server).

Any ideas?  The username and password are correct.  Wondering if it is a known bug or misconfiguration?

Thanks for help :)



Subject: Cron <bassac@argentina> wget -O - -q -t 1 --post-file=/home/bassac/cpd http://bassac.org.uk/sites/all/modules/civicrm/bin/CiviMailProcessor.php
Date: Wed,  3 Nov 2010 12:20:02 +0000 (GMT)

connecting to imap.gmail.com, authenticating as bassac@thirdsectordesign.org and selecting INBOX
<br />
<b>Fatal error</b>:  Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. The IMAP server did not accept the username and/or password: * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.' in /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php:515
Stack trace:
#0 /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/CRM/Mailing/MailStore/Imap.php(61): ezcMailImapTransport-&gt;authenticate('bassac@thirdsec...', 'xxxxxx')
#1 /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/CRM/Mailing/MailStore.php(61): CRM_Mailing_MailStore_Imap-&gt;__construct('imap.gmail.com', 'bassac@thirdsec...', 'xxxxxx', true, NULL)
#2 /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/bin/CiviMailProcessor.php(60): CRM_Mailing_MailStore::getStore(NULL)
#3 /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/bin/CiviM in <b>/var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php</b> on line <b>515</b><br />
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CiviMailProcessor.php username and/or password error
November 03, 2010, 05:47:50 am
Dear Michael,

you might not have heard about THE book, that contains a chapter about how to configure the beast:
http://en.flossmanuals.net/CiviCRM/SystemConfiguration

After careful reading, you'll spot that EmailProcessor is the script that the cool kids run (not sure how to properly obsolete CiviMailProcessor, might want to die("Obsolete, use EmailProcessor + link to doc").

Yeap sweetie pie, you've just been rtfmed ;)

X+

P.S. Might be that your IMAP wants a SSL ? Can you read it from a regular mail client ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: CiviMailProcessor.php username and/or password error
November 03, 2010, 07:17:37 am
Did I say CiviMailProcessor?  Ooops, I meant EmailProcessor.

Same difference though:

wget -O - -q -t 1 --post-file=/home/bassac/cpd http://bassac.org.uk/sites/all/modules/civicrm/bin/EmailProcessor.php
connecting to imap.gmail.com, authenticating as bassac@thirdsectordesign.org and selecting INBOX
<br />
<b>Fatal error</b>:  Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. The IMAP server did not accept the username and/or password: * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.' in /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php:515
Stack trace:
#0 /var/www/vhosts/bassac.org.uk/httpdocs/sites/all/modules/civicrm
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

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: CiviMailProcessor.php username and/or password error
November 03, 2010, 07:50:54 am
Most likely related to http://forum.civicrm.org/index.php/topic,10721.0.html

Solution is to upgrade :)
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) »
  • CiviMailProcessor.php username and/or password error

This forum was archived on 2017-11-26.