M. Fioretti
2006-Sep-30 19:26 UTC
[Dovecot] Dovecot accepts squirrelmail, rejects fetchmail
Hello, this is a follow-up to the thread "Fetchmail can't talk to dovecot" http://www.dovecot.org/list/dovecot/2006-September/016477.html Increasing the log level I get this in the log filed: Sep 30 15:04:19 fm dovecot: Dovecot v1.0.rc7 starting up Sep 30 15:04:22 fm dovecot: auth(default): passwd-file /etc/dovecot_user_file: Read 1 users Sep 30 15:05:05 fm dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAPsecured +lip=::ffff:SERVER_IP_HERE rip=::ffff:CLient_IP_HERE resp=LONG_STRING_HERE VDBB Sep 30 15:05:05 fm dovecot: auth(default): passwd-file(user_name,::ffff:CLIENT_IP_HERE): unknown user Sep 30 15:05:07 fm dovecot: auth(default): client out: FAIL 1 user=user_name Sep 30 15:05:07 fm dovecot: imap-login: Aborted login: user=<user_name>, method=PLAIN, rip=::ffff:CLIENT_IP_HERE, +lip=::ffff:SERVER_IP_HERE, TLS Remember that when the same user name and password come from Squirrelmail on the same host where dovecot runs, everything works. Why does it fail with fetchmail? what does that message "unknown user" exactly mean? Thank you in advance for any help, Marco
M. Fioretti
2006-Sep-30 20:28 UTC
[Dovecot] Dovecot accepts squirrelmail, rejects fetchmail
On Sat, Sep 30, 2006 21:26:04 PM +0200, io (mfioretti at mclink.it) wrote:> Sep 30 15:05:05 fm dovecot: auth(default): passwd-file(user_name,::ffff:CLIENT_IP_HERE): unknown user > Sep 30 15:05:07 fm dovecot: auth(default): client out: FAIL 1 user=user_name > Sep 30 15:05:07 fm dovecot: imap-login: Aborted login: user=<user_name>, method=PLAIN, rip=::ffff:CLIENT_IP_HERE, > +lip=::ffff:SERVER_IP_HERE, TLS > > Remember that when the same user name and password come from > Squirrelmail on the same host where dovecot runs, everything works. > > Why does it fail with fetchmail? what does that message "unknown > user" exactly mean?More exactly: what is in Dovecot configuration that makes it recognize an user from squirrelmail and call it unknown when it calls through fetchmail? TIA, Marco
Peter Fern
2006-Sep-30 22:50 UTC
[Dovecot] Dovecot accepts squirrelmail, rejects fetchmail
M. Fioretti wrote:> Hello, > > this is a follow-up to the thread "Fetchmail can't talk to dovecot" > http://www.dovecot.org/list/dovecot/2006-September/016477.html > >Was it really necessary to start a new thread?> Increasing the log level I get this in the log filed: > > Sep 30 15:04:19 fm dovecot: Dovecot v1.0.rc7 starting up > Sep 30 15:04:22 fm dovecot: auth(default): passwd-file /etc/dovecot_user_file: Read 1 users > Sep 30 15:05:05 fm dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAPsecured > +lip=::ffff:SERVER_IP_HERE rip=::ffff:CLient_IP_HERE resp=LONG_STRING_HERE VDBB > Sep 30 15:05:05 fm dovecot: auth(default): passwd-file(user_name,::ffff:CLIENT_IP_HERE): unknown user > Sep 30 15:05:07 fm dovecot: auth(default): client out: FAIL 1 user=user_name > Sep 30 15:05:07 fm dovecot: imap-login: Aborted login: user=<user_name>, method=PLAIN, rip=::ffff:CLIENT_IP_HERE, > +lip=::ffff:SERVER_IP_HERE, TLS > > Remember that when the same user name and password come from > Squirrelmail on the same host where dovecot runs, everything works. > > Why does it fail with fetchmail? what does that message "unknown user" exactly mean? > > Thank you in advance for any help, > > Marco > >Fetchmail works fine with dovecot here, and elsewhere, I don't believe it's a dovecot issue. If you want to see what's actually happening, turn on mail/auth debug in dovecot and then login from each of your mail clients, compare the transactions line by line and see if you can work out what's wrong. You're welcome to come back and ask further questions, but I have to assume this is user error...