[vchkpw] Re: smtp auth - md5 learn pass

2005-06-19 Thread Peter Palmreuther
Hello Casey, On Sunday, June 19, 2005 at 12:22:05 AM Casey wrote: On Saturday 18 June 2005 10:13, Peter Palmreuther wrote: How did you log in? SMTP-AUTH using CRAM-MD5? PLAIN with IMAP (dovecot). And dovecot is configured to explicitly use 'vchkpw' and 'vchkpw' is for sure the version from

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-19 Thread Casey Allen Shobe
On Sunday 19 June 2005 13:53, Peter Palmreuther wrote: And dovecot is configured to explicitly use 'vchkpw' and 'vchkpw' is for sure the version from 'compile with --enable-clear-password' build? Yes, there is only one vchkpw on the system. If it's not using the correct vchkpw then it's

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-19 Thread Casey Allen Shobe
On Sunday 19 June 2005 19:52, Casey Allen Shobe wrote: That works, but that's not useful since none of the client logins (pop3 or imap) update the password file. SMTP logins *do*, but they are considerably more rare... And many accounts exist for POP3 polling only, and the end user only uses

[vchkpw] Re: smtp auth - md5 learn pass

2005-06-19 Thread Peter Palmreuther
Hello Casey, On Sunday, June 19, 2005 at 9:52:55 PM Casey wrote: printf [EMAIL PROTECTED] |vchkpw /usr/bin/env 30 - check if environment was printed (should be with correct password presented) - check 'vpasswd' and 'vpasswd.cdb'. That works [...] If *THAT* works your dovecot must use

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-19 Thread Tom Collins
On Jun 19, 2005, at 12:55 PM, Casey Allen Shobe wrote: On Sunday 19 June 2005 19:52, Casey Allen Shobe wrote: That works, but that's not useful since none of the client logins (pop3 or imap) update the password file. SMTP logins *do*, but they are considerably more rare... And many accounts

[vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Peter Palmreuther
Hello Casey, On Saturday, June 18, 2005 at 10:35:58 AM Casey wrote: AFAIR it does exactly what you said. Nope, doesn't seem to. I rebuilt vpopmail with it enabled, edited out the cleartext portions of a vpasswd file, and logged in a bunch of times as that user. No updates to vpasswd. :(

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Sylwester S. Biernacki
On Saturday, June 18, 2005, 12:13:54 PM, Peter wrote: AFAIR it does exactly what you said. Nope, doesn't seem to. I rebuilt vpopmail with it enabled, edited out the cleartext portions of a vpasswd file, and logged in a bunch of times as that user. No updates to vpasswd. :( How did you

Re[2]: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Sylwester S. Biernacki
On Saturday, June 18, 2005, 4:32:17 PM, Sylwester wrote: Casey was talking about mysql not .cdb for user databases. blah... I've read bad lines: Nope, doesn't seem to. I rebuilt vpopmail with it enabled, edited out the cleartext portions of a vpasswd file sorry for misunderstanding. --

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Tom Collins
On Jun 18, 2005, at 7:32 AM, Sylwester S. Biernacki wrote: I've checked in mysql log what happens if I auth via POP3 - vpopmail makes select from vpopmail where pw_name='x' and pw_domain='x.com' and the connection is being closed. As far as I understand well I should get an update to vpopmail

Re[2]: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Sylwester S. Biernacki
On Saturday, June 18, 2005, 7:06:49 PM, Tom wrote: If you're using qmail's pop3 server, you could add some debugging to vchkpw.c (and recompile and reinstall it) to do some printfs around that code to see why it isn't running. I love open free software ;P It's called tchechien debug ;-) I

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Casey Allen Shobe
On Saturday 18 June 2005 10:13, Peter Palmreuther wrote: How did you log in? SMTP-AUTH using CRAM-MD5? PLAIN with IMAP (dovecot). Cheers, -- Casey Allen Shobe | http://casey.shobe.info [EMAIL PROTECTED] | cell 425-443-4653 AIM Yahoo: SomeLinuxGuy | ICQ: 1494523 SeattleServer.com, Inc. |

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Casey Allen Shobe
On Saturday 18 June 2005 14:32, Sylwester S. Biernacki wrote: Casey was talking about mysql not .cdb for user databases. I certainly was not! I do not wish to use mysql, though I do want to start using postgresql soon. I will try rm'ing the cdb. Cheers, -- Casey Allen Shobe |

Re: [vchkpw] Re: smtp auth - md5 learn pass

2005-06-18 Thread Casey Allen Shobe
On Saturday 18 June 2005 10:13, Peter Palmreuther wrote: Additionally you should make sure you rebuilt vpasswd.cdb after you edited vpasswd, because else vchkpw will still see the clear text password in vpasswd.cdb and therefore see no reason to update anything. vchkpw does *not* look into