The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Message not sent. Server replied: Authentication failed

Discussion in 'E-mail Discussions' started by spalxy, Sep 18, 2008.

  1. spalxy

    spalxy Registered

    Joined:
    Jul 20, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello guys,
    I have the following problem with a single cPanel account:
    No mails on this account work, neither pop3 or webmail. In Squirell i get the following error:
    Code:
    Message not sent. Server replied:
    
        Authentication failed
        535 Incorrect authentication data
    The account was restored using a full backup, so i believe the old provider was using another OS than CentOS so something went wrong ... any advice what i should check ?

    P.S. All other accounts on the current server work just fine, that`s the only cPanel having issues, so i believe its a configuration problem somewhere on this account`s config files.
     
  2. Alconoel

    Alconoel Registered

    Joined:
    Oct 16, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I'm also having trouble with this. The problems started recently when our servers were moved. The full error is:

    "There was an error sending your message: authentication failure [SMTP: Invalid response code received from server (code: 535, response: Incorrect
    authentication data)]"
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
     
  4. maever

    maever Active Member

    Joined:
    Sep 26, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I can also confirm that I have experienced this issue.

    In my case its when you try to access your webmail box through cpanel
    The reason this goes wrong is because it tries to authenticate itself to SMTP with your CPANEL user info. now since your CPanel user has nothing to do with SMTP, it will not properly authenticate and give that error.

    Instead try to access your webmail through DOMAIN.com/webmail ,
    This should work.

    Now obviously you should also be able to use your webmail through cpanel,
    this is a bug and will probably be fixed later on.

    Please could anyone else that experienced this issue REPLY and confirm that this was the same issue?
     
  5. PDW

    PDW Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    I am getting this error on Horde using
    cPanel 11.24.7-E34209 - WHM 11.24.4 - X 3.9
    CENTOS 5.2 i686 on standard

    There was an error sending your message: authentication failure [SMTP: Invalid response code received from server (code: 535, response: Incorrect authentication data)]

    I also get errors in all of the other webmail programs as well.
     
  6. Scott Free

    Scott Free Registered

    Joined:
    Mar 12, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Yes, thats correct. All we did was turn off:
    Allow mail account authentication using the password of the domain owner's account- in the Mail - Tweak Settings and issue is resolved. It now asks the user for their mail password when logging into webmail via cpanel or externally and mail is being sent correctly.
     
  7. PDW

    PDW Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    The thing that fixed my issue -
    was a few things - first of all I wasnt getting updted files as the repository I was using shut down and I didnt know it.

    Second - Cpanel support went in and looked at it, and regenerated the passwords file. That corrected the issue.
     
  8. Finkinstein

    Finkinstein Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Anyone know how to regenerate the passwords file? Getting the same error and tried all other suggestions on similar posts in forum.
     
  9. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    How can i regenerate the passwords file?
     
  10. XRAY Admin

    XRAY Admin Registered

    Joined:
    May 12, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    We had the same symptoms on one of our servers after unsuspending an account. The problems were limited to the unsuspended account.

    None of the suggestions above resolved the issue (they weren't listed in demodomains or demo accounts, the Tweak settings flag wasn't set, etc). Also tried logging in with user+domain.com instead of using '@' but that made no difference.

    Additionally tried restarting Exim and changing the passwords but that didn't resolve either.

    The customer still has a couple of mailboxes that they check but don't send from that I left in place. Please feel free to contact us if you would like me to try something on the remaining accounts or for more info.

    Hope that helps,

    Chris
     
  11. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Try suspending then un-suspending the account again.
     
  12. PDW

    PDW Well-Known Member

    Joined:
    Dec 29, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
  13. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Doesn't work.

    The only solution that i found that worked was to set squirrelmail to send via sendmail and bypass smtp entirely.
     
  14. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    So this issue only affected Squirrelmail?
     
  15. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    No it affects all webmails, i fixed squirrelmail so the client had at least one webmail that worked. Of course on each update squirrelmail is set back to smtp :(

    If the client logs directly into webmail (url:2096)then webmail can send. It's only if the client logs into their webmail via the admin control panel webmail links - that the webmails get an authorisation error.
     
  16. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    So this issue is just limited to webmail? Regular SMTP, POP and IMAP connections work just fine?
     
  17. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    yes and only if they login to webmail via the admin control panel. A client first noticed it about the time i upgraded to the version that had "Allow mail account authentication using the password of the domain owner's account" - so i surmise that this feature has a bug.
     
  18. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I tried this on a test server running cPanel 11.24.4-R35075 - WHM 11.24.2 - X 3.9 CENTOS 4.7 i686 standard without issue. Though if it is a bug, the best thing to do would be to have our technical analysts look into this so we can confirm if this is indeed a bug so we can take corrective action: http://tickets.cPanel.net/submit
     
  19. XRAY Admin

    XRAY Admin Registered

    Joined:
    May 12, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    In our case, all SMTP connections were affected from various clients. We only tried SquirrelMail as the issue seemed to affect any client trying to send from the account. We did try suspending/unsuspending and resetting passwords on the individual mailboxes in addition to restarting Exim.
     
  20. XRAY Admin

    XRAY Admin Registered

    Joined:
    May 12, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Looks like we were updating our tickets at the same time.

    Please feel free to submit the bug; we're in the process of updating the affected server but will be willing to assist with testing if you like.

    The affected server is cPanel 11.24.4-S33345 - WHM 11.24.2 - X 3.9
    CENTOS 4.4 i686 on standard.

    Cheers,

    Chris
     
Loading...

Share This Page