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 error when testing the connection
Pages: [1]

Author Topic: SMTP error when testing the connection  (Read 9203 times)

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
SMTP error when testing the connection
September 03, 2008, 11:21:25 pm
In CiviCRM when I enter the SMTP info and click "Save & Send Test Email" I receive the following error:

Quote
Oops. Your SMTP settings are incorrect. No test mail has been sent.

Error message:

authentication failure [SMTP: No supported authentication methods (code: 250, response: civismtp.uas.coop Hi Unknown [208.122.24.61] PIPELINING 8BITMIME AUTH CRAM-MD5)]

Your changes have been saved.

Gotta love the informative error messages that this library spits out.  Does this mean that the failure happened because it doesn't recognize my IP (What is there matches what I entered at CiviSMTP), or that I need one of those authentication methods in the list (If so are we talking about a PHP or PEAR library, or what?), or are those the methods that I have available, but CiviSMTP needs something else?

I've entered all my info onto the CiviSMTP site and the test there reports that everything except the MX record is setup correctly (That's in the process of getting sorted out, and I don't see how that could be related).

--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
Re: SMTP error when testing the connection
September 03, 2008, 11:26:13 pm
I should point out that this is CiviCRM 2.1.  Perhaps I'm the first one to try CiviSMTP with CiviCRM 2.1?
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP error when testing the connection
September 04, 2008, 06:02:18 am
the error message means typically means that the receiving server does not support the requested authenticatiion method.

r u using port 20095 for the port in the civicrm outbound smtp settings in your civicrm installation.  we send outbound email on 20095 and reserve 25 for communications about subscribes, unsubscribes, etc.

also, I cannot vouch for 2.1 as it is still in beta and we have yet to test it.

has anyone else on the forum used 2.1 with civismtp?

-Shane

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
Re: SMTP error when testing the connection
September 04, 2008, 06:23:52 am
Quote from: shane on September 04, 2008, 06:02:18 am
the error message means typically means that the receiving server does not support the requested authenticatiion method.

Right.  So that list of authentication methods is what I have, or what I need?  And are these apache modules, PEAR extensions, or what?

Quote
r u using port 20095 for the port in the civicrm outbound smtp settings in your civicrm installation.  we send outbound email on 20095 and reserve 25 for communications about subscribes, unsubscribes, etc.

Yes I'm using 20095.
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP error when testing the connection
September 04, 2008, 07:03:33 am
in all likelihood, this is not related to apache.

the message means we use CRAM MD5 and that your end is not providing things correctly. 

however, as far as i know,  there are no additional packages necessary unless something has changed in 2.1.  try PEAR's Net_SMTP and see if that works.  if installing Net_SMTP fixes things, let us know here so we can add it to the help docs.

peace,

-Shane


shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP error when testing the connection
September 04, 2008, 07:40:50 am
you might also need Auth_SASL

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP error when testing the connection
September 05, 2008, 10:11:55 am
any luck with this?

I am going to be installing the beta and testing over the weekend.  will post here if I find anything useful.

-Shane

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
Re: SMTP error when testing the connection
September 07, 2008, 05:09:56 pm
I added Net_SMTP and Auth_SASL and that did the trick. 

Thanks!
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Re: SMTP error when testing the connection
September 11, 2008, 02:13:13 pm
I've run into the same error

 The mail library returned the following error message:  authentication failure [SMTP: No supported authentication methods (code: 250, response: sh.uas.coop Hi Unknown [209.44.122.24] PIPELINING 8BITMIME AUTH CRAM-MD5)]

Any idea which package(s) I need to install in Debian?

Neil

shane

  • Moderator
  • I post frequently
  • *****
  • Posts: 265
  • Karma: 16
Re: SMTP error when testing the connection
September 11, 2008, 03:43:26 pm
try the same libs that dalin installed:

Net_SMTP and Auth_SASL

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 error when testing the connection
September 11, 2008, 03:54:53 pm

Net/SMTP.php is shipped with CiviCRM

we used to ship Auth/SASL*, but removed it from v2.1 since we did not know anyone using it :) I just added it back, so should be part of the next release next week :)

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

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Re: SMTP error when testing the connection
September 16, 2008, 06:53:33 am
Hey Lobo

Is there a way to add Auth_SASL without messing things up. When is the next release?

Neil

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 error when testing the connection
September 16, 2008, 06:58:40 am
hey neil:

you just need to add it to the packages/Auth directory. You can get the files from svn here:

http://svn.civicrm.org/civicrm/branches/v2.1/packages/Auth/{SASL.php,SASL/*}

the beta release schedule is weekly on wed morning pacific time. So we'll have a release tomorrow morning

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 error when testing the connection

This forum was archived on 2017-11-26.