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 »
  • Using CiviSMTP (Moderator: shane) »
  • SMTP Authentication error
Pages: [1]

Author Topic: SMTP Authentication error  (Read 2978 times)

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
SMTP Authentication error
October 09, 2012, 08:39:01 pm
CiviCRM 4.1.5

  • My CiviMail Account settings check out okay.
  • I can send a successful test mail from my CiviCRM outbound mail settings
But, when I actually try to send CiviMail, I get a backtrace then the following message:

Sorry. A non-recoverable error has occurred.
authentication failure [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: 535, response: Authentication failed for proto_ccrmu - authflat/cram-md5 - wrong password)]

See the attached for a full screenshot

« Last Edit: October 10, 2012, 04:05:36 pm by Ozyank »

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP Authentication error
October 10, 2012, 07:45:31 am
HI,  as far as I can tell from the error message,  the password and / or username is misconfigured.  please reset them and try again.

let us know if you have any further problems.

-Shane

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: SMTP Authentication error
October 10, 2012, 04:04:26 pm
If the site were misconfigured, why would the SMTP settings check out okay in the CiviSMTP configuration test? Also, I was able to successfully send a test email from the CiviCRM outbound mail configuration screen using this password. Could it be that a different salt is being used when an actually CiviMail is being sent?
« Last Edit: October 10, 2012, 04:08:07 pm by Ozyank »

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP Authentication error
October 10, 2012, 04:13:49 pm
the CiviSMTP config test tests the following:

[1] smtp username and pass are working between *our* http server and *our* smtp server
[2] that we can successfully login to your CiviCRM for return channel processing

the CviSMTP config test does not indicate that you have your installation configured correctly.

I do not think the password salt has anything to do with this, otherwise we would have heard from others.   Please reset all of your settings and try sending again.  If you are using memcached with CCRM, please flush it or shut it down.

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: SMTP Authentication error
October 10, 2012, 04:27:48 pm
I flushed all caches and was successful in sending a mail. I'll have to check with the developer about why memcached might be causing a problem.

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
Re: SMTP Authentication error
October 10, 2012, 04:32:57 pm
Shane,

While we do have memcached set up for CiviCRM, why is this relevant?

Since we'd be unable to deploy without it, this is a serious question.  What do you think might get cached that's relevant to this?

AFAIK, a lot of people use CiviCRM with memcache, so I'm a little surprised it's an issue here.


shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP Authentication error
October 10, 2012, 04:37:20 pm
hmm,  darn.  I wish I knew the exact problem with memcached.  In the past, I have suspected there might be problems but have not had time to track down the exact issue. 

unless you are getting heavy traffic, I would shut memcached down for now until the problem is resolved

-Shane

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP Authentication error
October 10, 2012, 04:40:03 pm
rob,  I think this is an issue with the settings not getting updated in cache when the outbound email settings are changed.

all will probably work OK for now until you need to change the values in which case, you would need to flush manually.

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: SMTP Authentication error
October 10, 2012, 05:05:05 pm

Not sure what version u'll are on, but if still on 1.9, is suspect Civi does not flush memcache at all times.

we've fixed most of these issues in 3.x when NYSS went live and started using memcache :)

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

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: SMTP Authentication error
October 10, 2012, 05:59:09 pm
See first post. We are on 4.1.5

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: SMTP Authentication error
October 10, 2012, 07:21:04 pm

there goes my theory about older versions and memcache

if u'll do figure out what/why, please do submit an issue and an associated patch

thanx

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 »
  • Using CiviSMTP (Moderator: shane) »
  • SMTP Authentication error

This forum was archived on 2017-11-26.