Author Topic: Re: Can't send - smtp error 250 from webmail  (Read 7821 times)

Offline gab-pro

  • Newbie
  • *
  • Posts: 4
Re: Can't send - smtp error 250 from webmail
« on: January 26, 2015, 09:53:52 AM »
Hallo
I'm new to this board. I can not send email through webmail. Previously I could. Thunderbird mail client sends, receives.

logs are properly /var/www/webmail/errors
[23-Jan-2015 12:08:06] SMTP server does not support authentication ():
[23-Jan-2015 12:08:06 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422011288800&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 12:15:31] SMTP server does not support authentication ():
[23-Jan-2015 12:15:31 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422011732884&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 12:16:44] SMTP server does not support authentication ():
[23-Jan-2015 12:16:44 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422011806259&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 13:19:29] SMTP server does not support authentication ():
[23-Jan-2015 13:19:29 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422015571219&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 13:19:30] SMTP server does not support authentication ():
[23-Jan-2015 13:19:30 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422015572531&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 13:45:55] SMTP server does not support authentication ():
[23-Jan-2015 13:45:55 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422017157588&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 13:54:22] SMTP server does not support authentication ():
[23-Jan-2015 13:54:22 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422017664810&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 14:04:13] SMTP server does not support authentication ():
[23-Jan-2015 14:04:13 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422018255541&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 14:09:31 +0100]: PHP Error: SieveRules plugin: Unable to open example rule file in /var/www/webmail/plugins/sieverules/sieverules.php on line 1255 (GET /?_task=settings&_action=plugin.sieverules)
[23-Jan-2015 14:10:36] SMTP server does not support authentication ():
[23-Jan-2015 14:10:36 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422018638028&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 14:21:35] SMTP server does not support authentication ():
[23-Jan-2015 14:21:35 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422019297422&_lang=pl?_task=mail&_action=send)
[23-Jan-2015 15:19:14 +0100]: IMAP Error: Login failed for admin@elektro-holding.pl from 83.12.239.178. AUTHENTICATE PLAIN: Authentication failed. in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[26-Jan-2015 14:51:05 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. AUTHENTICATE PLAIN: Authentication failed. in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[26-Jan-2015 14:51:37 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. AUTHENTICATE PLAIN: Authentication failed. in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[26-Jan-2015 14:52:01 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. AUTHENTICATE PLAIN: Authentication failed. in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)

/var/www/webmail/logs/smtp
[07-Jan-2015 21:13:06 +0100]: Recv: 221 2.0.0 Bye
[07-Jan-2015 21:42:29 +0100]: Recv: 220 mail.holding.pl ESMTP Postfix (Debian/GNU)
[07-Jan-2015 21:42:29 +0100]: Send: EHLO webmail.holding.pl
[07-Jan-2015 21:42:29 +0100]: Recv: 250-mail.holding.pl
[07-Jan-2015 21:42:29 +0100]: Recv: 250-PIPELINING
[07-Jan-2015 21:42:29 +0100]: Recv: 250-SIZE 52428800
[07-Jan-2015 21:42:29 +0100]: Recv: 250-ETRN
[07-Jan-2015 21:42:29 +0100]: Recv: 250-ENHANCEDSTATUSCODES
[07-Jan-2015 21:42:29 +0100]: Recv: 250-8BITMIME
[07-Jan-2015 21:42:29 +0100]: Recv: 250 DSN
[07-Jan-2015 21:42:29 +0100]: Send: RSET
[07-Jan-2015 21:42:29 +0100]: Recv: 250 2.0.0 Ok
[07-Jan-2015 21:42:29 +0100]: Send: QUIT
[07-Jan-2015 21:42:29 +0100]: Recv: 221 2.0.0 Bye
[07-Jan-2015 21:57:28 +0100]: Recv: 220 mail.holding.pl ESMTP Postfix (Debian/GNU)
[07-Jan-2015 21:57:28 +0100]: Send: EHLO webmail.holding.pl
[07-Jan-2015 21:57:28 +0100]: Recv: 250-mail.holding.pl
[07-Jan-2015 21:57:28 +0100]: Recv: 250-PIPELINING
[07-Jan-2015 21:57:28 +0100]: Recv: 250-SIZE 52428800
[07-Jan-2015 21:57:28 +0100]: Recv: 250-ETRN
[07-Jan-2015 21:57:28 +0100]: Recv: 250-ENHANCEDSTATUSCODES
[07-Jan-2015 21:57:28 +0100]: Recv: 250-8BITMIME
[07-Jan-2015 21:57:28 +0100]: Recv: 250 DSN
[07-Jan-2015 21:57:28 +0100]: Send: RSET
[07-Jan-2015 21:57:28 +0100]: Recv: 250 2.0.0 Ok
[07-Jan-2015 21:57:28 +0100]: Send: QUIT


Please help me with this problem :-\
« Last Edit: January 26, 2015, 10:26:15 AM by gab-pro »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Can't send - smtp error 250 from webmail
« Reply #1 on: January 26, 2015, 11:04:41 AM »
Hi,

Your post is a little confusing, logs from two different times. Then you said you have problems sending but the only entries in the error log from today are about logging in not sending. The lines like this:
Quote
[23-Jan-2015 12:08:06] SMTP server does not support authentication ():
[23-Jan-2015 12:08:06 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422011288800&_lang=pl?_task=mail&_action=send)
suggest that you have configued Roundcube incorrectly, that you need to turn off SMTP authentication in your config file for sending to work. setting $config['smtp_user'] and $config['smtp_pass'] to empty strings should do that.

and
Quote
[26-Jan-2015 14:52:01 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. AUTHENTICATE PLAIN: Authentication failed. in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
suggests that you got your username and/or password wrong.

the lump of SMTP log does not relate to any think you posted from the error log, its from 2.5 weeks ago.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline gab-pro

  • Newbie
  • *
  • Posts: 4
Re: Can't send - smtp error 250 from webmail
« Reply #2 on: January 27, 2015, 09:47:34 AM »
After the changes described in the file configuration such an error
Error SMTP 554 You can not add the recipient.
This is my file configuration section SMTP:
// will use the current username for login
$rcmail_config['smtp_user'] = '%u';

// SMTP password (if required) if you use %p as the password Roundcube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = '%p';

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = '';

// Optional SMTP authentication identifier to be used as authorization proxy
$rcmail_config['smtp_auth_cid'] = null;

// Optional SMTP authentication password to be used for smtp_auth_cid
$rcmail_config['smtp_auth_pw'] = null;

// SMTP HELO host
// Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages
// Leave this blank and you will get the server variable 'server_name' or
// localhost if that isn't defined.
$rcmail_config['smtp_helo_host'] = '';

// SMTP connection timeout, in seconds. Default: 0 (no limit)
$rcmail_config['smtp_timeout'] = 0;

// ----------------------------------
// SYSTEM
// ----------------------------------

// THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA.
// ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
$rcmail_config['enable_installer'] = false;

// use this folder to store log files (must be writeable for apache user)
// This is used by the 'file' log driver.
$rcmail_config['log_dir'] = 'logs/';

// use this folder to store temp files (must be writeable for apache user)
This is errors log from roundcube:
[27-Jan-2015 12:12:13 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. Could not connect to ssl://mail.elektro-holding.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[27-Jan-2015 12:13:51 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. Could not connect to ssl://mail.elektro-holding.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[27-Jan-2015 14:00:28] SMTP server does not support authentication ():
[27-Jan-2015 14:00:28 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422363630010&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 14:13:57] Invalid response code received from server (554):
[27-Jan-2015 14:13:58 +0100]: SMTP Error: SMTP error: Failed to add recipient 'gab-pro@o2.pl' in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422364439849&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 14:14:10] Invalid response code received from server (554):
[27-Jan-2015 14:14:10 +0100]: SMTP Error: SMTP error: Failed to add recipient 'gab-pro@o2.pl' in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422364452691&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 14:16:56] Invalid response code received from server (554):
[27-Jan-2015 14:16:56 +0100]: SMTP Error: SMTP error: Failed to add recipient 'gab-pro@o2.pl' in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422364618156&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 14:17:39 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. Could not connect to ssl://mail.elektro-holding.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_unlock=loading1422364640488&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 14:21:45 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. Could not connect to ssl://mail.elektro-holding.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[27-Jan-2015 14:22:44 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. Could not connect to ssl://mail.elektro-holding.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[27-Jan-2015 14:23:45 +0100]: IMAP Error: Login failed for jbak@elektro-holding.pl from 83.12.239.178. Could not connect to ssl://mail.elektro-holding.pl:993: Przekroczony czas oczekiwania na połączenie in /var/www/webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)
[27-Jan-2015 14:59:57] SMTP server does not support authentication ():
[27-Jan-2015 14:59:57 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422367199742&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 15:27:49] SMTP server does not support authentication ():
[27-Jan-2015 15:27:49 +0100]: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422368871493&_lang=pl?_task=mail&_action=send)
[27-Jan-2015 15:29:48] Invalid response code received from server (554):
[27-Jan-2015 15:29:48 +0100]: SMTP Error: SMTP error: Failed to add recipient 'gab-pro@o2.pl' in /var/www/webmail/program/include/main.inc on line 1745 (POST /?_unlock=loading1422368990247&_lang=pl?_task=mail&_action=send)

this is smtp log from roundcue
[27-Jan-2015 14:59:57 +0100]: Recv: 250 2.0.0 Ok
[27-Jan-2015 14:59:57 +0100]: Send: QUIT
[27-Jan-2015 14:59:57 +0100]: Recv: 221 2.0.0 Bye
[27-Jan-2015 15:27:49 +0100]: Recv: 220 mail.elektro-holding.pl ESMTP Postfix (Debian/GNU)
[27-Jan-2015 15:27:49 +0100]: Send: EHLO webmail.elektro-holding.pl
[27-Jan-2015 15:27:49 +0100]: Recv: 250-mail.elektro-holding.pl
[27-Jan-2015 15:27:49 +0100]: Recv: 250-PIPELINING
[27-Jan-2015 15:27:49 +0100]: Recv: 250-SIZE 52428800
[27-Jan-2015 15:27:49 +0100]: Recv: 250-ETRN
[27-Jan-2015 15:27:49 +0100]: Recv: 250-ENHANCEDSTATUSCODES
[27-Jan-2015 15:27:49 +0100]: Recv: 250-8BITMIME
[27-Jan-2015 15:27:49 +0100]: Recv: 250 DSN
[27-Jan-2015 15:27:49 +0100]: Send: RSET
[27-Jan-2015 15:27:49 +0100]: Recv: 250 2.0.0 Ok
[27-Jan-2015 15:27:49 +0100]: Send: QUIT
[27-Jan-2015 15:27:49 +0100]: Recv: 221 2.0.0 Bye
[27-Jan-2015 15:29:48 +0100]: Recv: 220 mail.elektro-holding.pl ESMTP Postfix (Debian/GNU)
[27-Jan-2015 15:29:48 +0100]: Send: EHLO webmail.elektro-holding.pl
[27-Jan-2015 15:29:48 +0100]: Recv: 250-mail.elektro-holding.pl
[27-Jan-2015 15:29:48 +0100]: Recv: 250-PIPELINING
[27-Jan-2015 15:29:48 +0100]: Recv: 250-SIZE 52428800
[27-Jan-2015 15:29:48 +0100]: Recv: 250-ETRN
[27-Jan-2015 15:29:48 +0100]: Recv: 250-ENHANCEDSTATUSCODES
[27-Jan-2015 15:29:48 +0100]: Recv: 250-8BITMIME
[27-Jan-2015 15:29:48 +0100]: Recv: 250 DSN
[27-Jan-2015 15:29:48 +0100]: Send: MAIL FROM:<jbak@elektro-holding.pl>
[27-Jan-2015 15:29:48 +0100]: Recv: 250 2.1.0 Ok
[27-Jan-2015 15:29:48 +0100]: Send: RCPT TO:<gab-pro@o2.pl>
[27-Jan-2015 15:29:48 +0100]: Recv: 554 5.7.1 <178-32-200-79.ovh.net[178.32.200.79]>: Client host rejected: Access denied
[27-Jan-2015 15:29:48 +0100]: Send: RSET
[27-Jan-2015 15:29:48 +0100]: Recv: 250 2.0.0 Ok
[27-Jan-2015 15:29:48 +0100]: Send: QUIT
[27-Jan-2015 15:29:48 +0100]: Recv: 221 2.0.0 Bye


This configuration worked well with no errors. I do not know where the problem is. Roundcube can reinstall ?? Thank you in advance for your answer


Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Can't send - smtp error 250 from webmail
« Reply #3 on: January 28, 2015, 09:44:39 AM »
Quote
This configuration worked well with no errors.
Ok, so what have you changed recently? If it suddenly stopped working that would suggest you changed something in either your Roundcube or Postfix configs.

Have you tried setting the smtp_auth_type to what ever your server supports rather than leaving it blank?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline gab-pro

  • Newbie
  • *
  • Posts: 4
Re: Can't send - smtp error 250 from webmail
« Reply #4 on: February 01, 2015, 01:29:23 PM »
Yes , I have tried change setting smtp_auth_type -  LOGIN, PLAIN  does not work:(

Offline gab-pro

  • Newbie
  • *
  • Posts: 4
Re: Can't send - smtp error 250 from webmail
« Reply #5 on: February 06, 2015, 02:50:02 AM »
Hi,
Please help me to solve this problem. What you propose?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Can't send - smtp error 250 from webmail
« Reply #6 on: February 06, 2015, 04:11:53 AM »
Looks more like smtp server issue. It does not advertise his AUTH capabilities. What I don't see in the debug log is "250-AUTH PLAIN LOGIN" or sth like that. Or maybe you're connecting to the wrong port, i.e. 25 instead of 587 or sth.