Mail server login FAILED

Discussion in 'Server Operation' started by martin5504, May 18, 2014.

  1. martin5504

    martin5504 New Member

    Hello, I'm trying to make a mail server using postfix and courier with mysql support on Debian, unfortunately happened to me when logging writes an error. Thanks

    HTML:
    ay 18 11:12:23 martin5504 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 18 11:19:35 martin5504 postfix/master[13573]: fatal: /etc/postfix/master.cf: line 14: bad transport type: smtpd_tls_wrappermode=yes
    May 18 11:19:40 martin5504 postfix/postdrop[13580]: warning: unable to look up public/pickup: No such file or directory
    May 18 11:20:01 martin5504 postfix/postdrop[13602]: warning: unable to look up public/pickup: No such file or directory
    May 18 11:27:23 martin5504 postfix/master[13747]: fatal: /etc/postfix/master.cf: line 14: bad transport type: smtpd_tls_wrappermode=yes
    May 18 11:27:27 martin5504 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 18 11:27:27 martin5504 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    May 18 11:27:32 martin5504 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=5
    May 18 11:28:33 martin5504 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 18 11:28:43 martin5504 imapd: LOGIN FAILED, user=MyUsername, ip=[::ffff:127.0.0.1]
    May 18 11:29:14 martin5504 imapd: (null): TOO MANY CONSECUTIVE PROTOCOL VIOLATIONS
    May 18 11:29:15 martin5504 pop3d: Connection, ip=[::1]
    May 18 11:29:25 martin5504 pop3d: LOGOUT, ip=[::1]
    May 18 11:29:25 martin5504 pop3d: Disconnected, ip=[::1]
    May 18 11:29:26 martin5504 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 18 11:29:53 martin5504 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    May 18 11:30:10 martin5504 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    May 18 11:31:47 martin5504 authdaemond: stopping authdaemond children
    May 18 11:31:55 martin5504 authdaemond: modules="authmysql", daemons=5
    May 18 11:31:55 martin5504 authdaemond: Installing libauthmysql
    May 18 11:31:55 martin5504 authdaemond: Installation complete: authmysql
    May 18 11:31:56 martin5504 postfix/master[983]: fatal: /etc/postfix/master.cf: line 14: bad transport type: smtpd_tls_wrappermode=yes
    May 18 11:32:15 martin5504 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 18 11:32:15 martin5504 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
    May 18 11:32:20 martin5504 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=5

    New Log :

    May 18 11:55:24 martin5504 authdaemond: received auth request, service=imap, authtype=login
    May 18 11:55:24 martin5504 authdaemond: authmysql: trying this module
    May 18 11:55:24 martin5504 authdaemond: authmysqllib: connected. Versions: header 50149, client 50173, server 50173
    May 18 11:55:24 martin5504 authdaemond: SQL query: SELECT email, password, "", 5000, 5000, "/home/vmail", CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), quota, "", "" FROM users WHERE email = '[email protected]'
    May 18 11:55:24 martin5504 authdaemond: supplied password does not match encrypted password
    May 18 11:55:24 martin5504 authdaemond: authmysql: REJECT - try next module
    May 18 11:55:24 martin5504 authdaemond: FAIL, all modules rejected
    May 18 11:55:24 martin5504 imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
     
    Last edited: May 18, 2014
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The error seams quite clear to me. You log states:
    Code:
     May 18 11:55:24 martin5504 authdaemond: supplied password does not match encrypted password
    
    So the provided password is wrong. Maybe you put it clear text into the database. That doesn't work.
    Try using ENCRYPT(), e. g. UPDATE `yourmailtable` SET `password` = ENCRYPT('yourpassword') WHERE xxxxx
     

Share This Page