Skip to main content

Incorrect authentication only for mass mailing

Comments

10 comments

  • cPanelMichael
    Hello :) Check /var/log/maillog on the cPanel server when this happens or search it for the time that it occurred and look for any specific error messages. Thank you.
    0
  • koda
    Hallo Michael, what you mean with "specifi error"? I mean in that email that returned back with the report I have: Description: SERVER_ERROR: 535 Incorrect authentication data In the path you provided do you think there are more detailed info on that? It seemed very casual like on another test it blocked 10 email on over 2000 with that error and sent me 2 times the error report (so I received 20 total). I tried to send more than 2000 email in 3-4 minutes. Maybe it was just a massive load that caused the random failure? Also note that I added all the IPs (of the webserver both public and private) to the mail server WHM > Service Configuration > Exim Configuration Manager > Access List > Trusted SMTP IP addresses, so this should override any ratelimit setting btw (which is not present in any case). I also checked in the web server queuing service that I use to forward the mails to the mail server and the error was: SERVER_ERROR: 535 Incorrect authentication data (final);cmd=*REDACTED* Now I scheduled 2 max concurrent connection (for that queue service) for a max of 25 email per minute... this should hit less hard the mail server and maybe skip the errors.
    0
  • cPanelMichael
    Yes, there might be more information in /var/log/maillog when this occurs. You may need to increase the following limits in "WHM Home " Service Configuration " Mailserver Configuration": Number of Spare Authentication Processes Maximum Number of Authentication Processes Thank you.
    0
  • koda
    You are the best as always. I'm asking my admin friend to check the /var/log/maillog thank you again.
    0
  • koda
    Ok Micheal I think I found the problem. The problem should be where you pointed at "Maximum Number of Authentication Processes". BUT looking at the log I see a very odd behaviour. I increased the "Maximum Number of Authentication Processes" from 50 to 150 (and I see the correct value saved in the WHM gui infact), but looking at the logs, it seems the default "50" (+5 spare) value is still retained: 2014-02-23 14:51:52 SMTP connection from [xxx.xxx.42.236]:53793 (TCP/IP connection count = 55) 2014-02-23 14:51:52 1WHZTA-0001Wx-07 => xxxxx_xxxxx@yahoo.it R=lookuphost T=remote_smtp H=mx-eu.xxxxx.xxx.xxxxxx.net [xxx.xxx.69.79] X=TLSv1:DHE-RSA-CAMELLIA256-SHA:256 C="250 ok dirdel" 2014-02-23 14:51:52 1WHZTA-0001Wx-07 Completed 2014-02-23 14:51:52 dovecot_login authenticator failed for xxxx-xxxxx-xx.xxxxx.com (mail.xxxxx.xxx) [xxx.xxx.42.236]:53738: 535 Incorrect authentication data (set_id=thesender@mydomain.com) 2014-02-23 14:51:52 dovecot_login authenticator failed for xxxx-xxxxx-xx.xxxxx.com (mail.xxxxx.xxx) [xxx.xxx.42.236]:53748: 535 Incorrect authentication data (set_id=thesender@mydomain.com) After 50 connection (+5 spare) atuh fails. I didn't restart Exim after changing the configuration where you pointed me at. Should I restart exim as well? Or do I have to look elsewhere? thanks
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature if you want us to take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • koda
    I will, but I guess this shouls be avoidable... we found the culprit already. Do you just think Exim should have been restarted for the new "Maximum Number of Authentication Processes" setting to be active? Maybe it was just this.
    0
  • cPanelMichael
    No, that setting is related to the mail server, Dovecot. Dovecot is automatically restarted after making the change. Thank you.
    0
  • koda
    I see... then maybe I should reall open a ticket... I didn't want to bug you :(
    0
  • cPanelMichael
    Opening a ticket will allow us the opportunity to access your system and review the mail logs. You can post the ticket number here and we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.