[EMAIL PROTECTED] writes:
Hello All!I'm have alot of problems migrating from an old postfix using systems acounts to courier-mta. Initialy mi plan is build a mysql database with the md5 system password and authenticate the users with authdaemon. I succesfully authenticated the pop3 users but when triing the smtp auth courier return user unknow.[EMAIL PROTECTED] $1$DfIYVyvM$YCj7/iXeVDAf0.up0HoQW/ 1501 101 /var/spool/postfix/ virtual/test.com/[EMAIL PROTECTED]/Maildir/ [EMAIL PROTECTED] is the content of the database for test user.When triing the smtp auth the mysql querys was the following: May 31 19:33:47 pelotron courieresmtpd: EHLO pelotron.local May 31 19:33:47 pelotron courieresmtpd: AUTH PLAIN May 31 19:33:47 pelotron courieresmtpd: MAIL FROM:<[EMAIL PROTECTED]> BODY=8BITMIME SIZE=303May 31 19:33:47 pelotron courieresmtpd: RCPT TO:<[EMAIL PROTECTED]> 050531 19:33:47 118 Query SELECT id, crypt, "", uid, gid, home, maildir, "", name, "" FROM users WHERE id = "[EMAIL PROTECTED]" 118 Query SELECT id, crypt, "", uid, gid, home, "", "", name, "" FROM users WHERE id = "prova" May 31 19:33:55 pelotron courieresmtpd: error,relay=::ffff:127.0.0.1,from=<[EMAIL PROTECTED]>,to=<[EMAIL PROTECTED]>: 550 User unknown.May 31 19:33:55 pelotron courieresmtpd: DATA May 31 19:33:55 pelotron courieresmtpd: error,relay=::ffff:127.0.0.1,msg="502 ESMTP command error",cmd: DATA
You show two queries above. One is looking for an account called "prova", the second one is looking for an account called "[EMAIL PROTECTED]".
However you set up the database, the login ID must match the account ID, obviously.
pgpPVUkq5K3VS.pgp
Description: PGP signature
