Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: doahh2 on October 19, 2013, 01:16:09 PM

Title: SMTP: 535 Incorrect authentication data
Post by: doahh2 on October 19, 2013, 01:16:09 PM
I have just installed roundcube and I am getting the error:


535 Incorrect authentication data


when I try to send an email. Using Telnet I have:


ehlo mydomain.com
250-mydomain.com Hello mydomain.com [xx.xxx.xx.xxx]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH CRAM-MD5
250-STARTTLS
250 HELP


and my main.inc.php contains:


$rcmail_config['smtp_port'] = 465;
$rcmail_config['smtp_user'] = '%u';
$rcmail_config['smtp_pass'] = '%p';
$rcmail_config['smtp_auth_type'] = '';
$rcmail_config['smtp_auth_pw'] = null;
$rcmail_config['smtp_helo_host'] = '';
$rcmail_config['smtp_timeout'] = 0;


I have no problem connecting with Outlook 2007 when using 'my outgoing server (SMTP) requires authentication' and 'Use same settings as my incoming mail server' are selected in:

Acount settings > Outgoing server.

I am using Exim4 on Debian, and Squirrel Mail works perfectly.

Does anyone have any suggestions please?
Title: Re: SMTP: 535 Incorrect authentication data
Post by: doahh2 on October 19, 2013, 01:41:53 PM
I removed the %u and %p from the SMTP parameters and I can now send to a local server account. However when using a non-local domain such as [email protected] I get:


rejected RCPT <[email protected]>: relay not permitted


This would seem to be an authentication problem which lands me back at square one!

HastyMail is also having no problems in connecting and sending emails to either local domains ([email protected]) or remote domains ([email protected]).