Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 60
  1. #1
    Member
    Join Date
    Sep 2008
    Posts
    98

    Exclamation Problem with Roundcube (sending) SMTP error: Authentication failure: STARTTLS failed

    hello,

    roubecube is the only webmail app enabled for my clients.
    it was working like a dream (with the default configuration created by cpanel team), but today when i upgraded to the most recent CURRENT tree, and roundcube was updated to .2-stable, users are no longer able to send email. after composing their emails and clicking send they are faced with the "sending..." notification for about 2 min, and nothing happens.

    The Roundcube error log shows this every time a user tries to send an email:

    Code:
    [30-Jan-2009 14:07:11] Invalid response code received from server (421): 
    [30-Jan-2009 14:07:11] Invalid response code received from server (-1): 
    [30-Jan-2009 14:07:34 -0800] SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/func.inc on line 1248 (POST /3rdparty/roundcube/index.php?_task=mail&_action=send)
    [30-Jan-2009 14:10:29] STARTTLS failed ():
    I am hoping someone can help before i trouble the support team with a ticket.

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by sirbrent View Post
    hello,

    roubecube is the only webmail app enabled for my clients.
    it was working like a dream (with the default configuration created by cpanel team), but today when i upgraded to the most recent CURRENT tree, and roundcube was updated to .2-stable, users are no longer able to send email. after composing their emails and clicking send they are faced with the "sending..." notification for about 2 min, and nothing happens.

    The Roundcube error log shows this every time a user tries to send an email:

    Code:
    [30-Jan-2009 14:07:11] Invalid response code received from server (421): 
    [30-Jan-2009 14:07:11] Invalid response code received from server (-1): 
    [30-Jan-2009 14:07:34 -0800] SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/func.inc on line 1248 (POST /3rdparty/roundcube/index.php?_task=mail&_action=send)
    [30-Jan-2009 14:10:29] STARTTLS failed ():
    I am hoping someone can help before i trouble the support team with a ticket.
    It is a bug in PHP's latest Net-SMTP module.

    We will be patching it an sending out a new CURRENT very soon. The internal case number is #20266
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  3. #3
    Member
    Join Date
    Sep 2008
    Posts
    98

    Default

    A quick update. I was playing around with the roundcube configuration (usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php) and noticed a workaround until the module is patched/updated. This workaround normally shouldnt work, but seems to work with the current problem in the module.

    normally there is a series of lines which should read like this:

    Code:
    // SMTP username (if required) if you use %u as the username RoundCube
    // will use the current username for login
    $rcmail_config['smtp_user'] = '%u';
    for now Roundcube seems to work properly if you change it to this:

    Code:
    // SMTP username (if required) if you use %u as the username RoundCube
    // will use the current username for login
    $rcmail_config['smtp_user'] = '';

  4. #4
    Member
    Join Date
    Jan 2003
    Posts
    61

    Default

    Just wanted to say

    Me too!

    Clients are upset. Please let us know when we should do an update.

    Thanks!

  5. #5
    Member
    Join Date
    Jan 2003
    Posts
    61

    Default

    Hi Brent,

    I tried your fix and the mail sends successfully -- shows completed in exim_mainlog and is copied to sent mail folder -- but roundcube responds, unknown server error.

    This fix doesn't expose any vulnerabilities in the application or the server?

    Thanks for posting.

    Tina

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    In C33795 this is still an issue. Horde works fine.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  7. #7
    Member
    Join Date
    Oct 2005
    Posts
    125

    Default

    Changing '%u' to '' seems to have worked on my system as a temporary fix for C33795. I'm not seeing any error messages.


    Edit: Something else appears to be involved. C33795 works on one server and not another.
    Last edited by Serra; 01-31-2009 at 12:57 PM.

  8. #8
    Member
    Join Date
    Dec 2003
    Location
    Maryland
    Posts
    98

    Default

    Is there any update on this issue? Or should I try the workaround?

  9. #9
    Member
    Join Date
    Apr 2008
    Posts
    39

    Default

    Thanks sirbrent, your solution work fine for me.

  10. #10
    Member
    Join Date
    May 2006
    Posts
    37

    Default

    i to am having this problem, any update on the status of the fix. I tried the above fix but it did not work for me.

  11. #11
    Registered User
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    1

    Question

    Any update on fixing this issue?

  12. #12
    Member
    Join Date
    Feb 2003
    Location
    Texas
    Posts
    73

    Default

    Nick

    Any update

  13. #13
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default

    CSF Users who are having this issue should check this post

    Worked for me

    http://forums.cpanel.net/showthread.php?t=105797

  14. #14
    Member
    Join Date
    May 2006
    Posts
    37

    Default

    hmm, i followed that post and changed from the 0, to 1 (allow) but after restarting csf, I am still having the same problem.

  15. #15
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default

    Worked for me, although i did log out of webmail and clear my temps

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Similar Threads & Tags
Similar threads

  1. problem with smtp authentication with phpmail
    By raystrach in forum E-mail Discussions
    Replies: 2
    Last Post: 08-22-2011, 05:16 PM
  2. exim disabling starttls remote smtp
    By charleswu in forum E-mail Discussions
    Replies: 1
    Last Post: 04-16-2010, 05:17 PM
  3. how to force sending email always use smtp authentication
    By wp11b in forum E-mail Discussions
    Replies: 3
    Last Post: 05-20-2009, 09:49 AM
  4. Problem sending with mutt - 550 Authentication error
    By jols in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-11-2006, 01:02 AM
  5. SMTP Authentication Failed - /etc/userdomains wrong perms
    By silversurfer in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 07-22-2005, 02:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube