Re: [Courier-imap] Courier MySQL authentication issue
Thanks for your support, I already have tried to change the MYSQL_CRYPT_PWFIELD to MYSQL_CLEAR_PWFIELD and It didn't work. So I have found a VERY good solution, simple and efficient: move to dovecot // two hours of work and everything is up and running perfectly (pop3 pop3s imap imaps). Among other thing: - documentation is much better, - config file is simpler, - integration with MySQL is way better and does not rely on third party software. So I guess this is my last post… But I am happy! Good luck everyone. Le 10 avr. 08 à 21:40, Brian Candler a écrit : On Thu, Apr 10, 2008 at 08:35:19PM +0200, bsd wrote: I have configured Courier to use a MySQL Backend, password are stored in cleartext format. When authenticating I have this strange issue wher Courier tells me: supplied password 'atest' does not match encrypted password 'atest // very strange message… It gives a very accurate message. Almost certainly you have a mistake in your authmysqlrc, but if you don't post it, how can we help you? Apr 10 20:22:49 sd-12545 authdaemond: SQL query: SELECT username, password, , 2001, 2001, '/var/mail/', maildir, , name, FROM mailbox WHERE username = [EMAIL PROTECTED] and the order of columns is: username, cryptpw, clearpw, uid, gid, home, maildir, quota, fullname, options So, my guess is that in authmysqlrc you've said that your 'password' column contains an encrypted password (MYSQL_CRYPT_PWFIELD). You need to tell it that this column contains a plaintext password (MYSQL_CLEAR_PWFIELD) Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this e-mail - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Courier MySQL authentication issue
On Fri, Apr 11, 2008 at 10:02:39AM +0200, bsd wrote: I already have tried to change the MYSQL_CRYPT_PWFIELD to MYSQL_CLEAR_PWFIELD and It didn't work. You would have to restart authdaemond too. If you did that, and authentication still failed, then almost certainly you would have got a different error message. Showing it could have helped to debug the problem. There's a very useful guide on how to get the results you want when posting to mailing lists here: http://www.catb.org/~esr/faqs/smart-questions.html#intro So I have found a VERY good solution, simple and efficient: move to dovecot // two hours of work and everything is up and running perfectly (pop3 pop3s imap imaps). Cool, glad you've got a solution you're happy with. Regards, Brian. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] autmysqlrc - service feedback
On Thu, Apr 10, 2008 at 11:34:38PM +0200, Marco Kammerer wrote: thanks it worked out. i changed my config from see below the login via imap and pop is working, but maildrop stopped to work together this is the error message in /var/log/mail.log pr 10 23:24:37 ms1 postfix/pipe[14203]: B77C9CE8147: to=[EMAIL PROTECTED], relay=maildrop, delay=706, delays=706/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Temporary authentication failure. ) Have you tried authtest [EMAIL PROTECTED] ? What does it show? If it fails, do you see anything in logs if you crank up authdaemond logging? http://www.courier-mta.org/authlib/README.authdebug.html - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
[Courier-imap] Converting IMAP-UW to Courier (UIDL)
So, it doesn't look like I am the first person to ask this but I haven't found any substantive answers. I need to move away from IMAP- UW because the old UNIX style mailboxes do not scale and the new mix format seems a bit hosed (Crispin is also not getting back to me regarding the problems I'm having). I already have about 50 users out of 550 moved to Courier and they work great because they are IMAP users. I am going to start a mass conversion but before I do I need to find a workaround for the difference in UIDLs. Basically, if POP users choose to leave a copy of the messages on the server and I move their messages they will all get downloaded again causing dupes. Dovecot has a way to mask the UIDL so that it looks like IMAP-UW. Is there a way to do this in Courier or some similar workaround? Thanks. -Tom - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] Converting IMAP-UW to Courier (UIDL)
Tom Grove writes: I am going to start a mass conversion but before I do I need to find a workaround for the difference in UIDLs. Basically, if POP users choose to leave a copy of the messages on the server and I move their messages they will all get downloaded again causing dupes. Dovecot has a way to mask the UIDL so that it looks like IMAP-UW. Is there a way to do this in Courier or some similar workaround? Thanks. Nope, there isn't. pgpUG4Bo5Pr7S.pgp Description: PGP signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap