[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=
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
On Sat, Sep 30, 2006 21:26:04 PM +0200, io (mfioretti@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=
, 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
Hello M.,
M. Fioretti, 30.09.2006 (d.m.y):
More exactly: what is in Dovecot configuration that makes it recognize an user from squirrelmail and call it unknown when it calls through fetchmail?
I don't think that this is a dovecot issue. IMO you should have a very close look at your SquirrelMail configuration. Does authentication from SquirrelMail work the same way as it does when using fetchmail?
Have you declared _exactly_ the same user name and password?
Gruss/Regards, Christian Schmidt
-- Man muß den Absichten mißtrauen, auch den guten, vor allem aber den eigenen. -- Johannes Groß
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=
, 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...
participants (3)
-
Christian Schmidt
-
M. Fioretti
-
Peter Fern