Re: [vchkpw] smtp auth - md5 learn pass

2005-06-20 Thread Tom Collins

On Jun 19, 2005, at 9:09 PM, Casey Allen Shobe wrote:

I don't know what dovecot does.  I recompiled it and restarted it,
no difference.  Here's what shows up in the mail facility for
syslog:

# tail -f /var/log/mail/current
Jun 20 04:08:51 [imap-login] Login: [EMAIL PROTECTED] [71.113.2.184]
Jun 20 04:08:56 [pop3-login] Login: [EMAIL PROTECTED] [64.125.210.7]
Jun 20 04:08:56 [pop3-login] Login: [EMAIL PROTECTED] [66.15.68.87]
Jun 20 04:08:57 [pop3-login] Login: [EMAIL PROTECTED] [67.160.31.225]
Jun 20 04:09:07 [pop3-login] Login: [EMAIL PROTECTED] [24.41.46.242]
Jun 20 04:09:09 [pop3-login] Login: [EMAIL PROTECTED] [66.15.68.87]
Jun 20 04:09:12 [vpopmail] vchkpw-smtp: (PLAIN) login success
[EMAIL PROTECTED]:71.113.2.184
Jun 20 04:09:16 [pop3-login] Login: [EMAIL PROTECTED] [66.213.206.34]
Jun 20 04:09:22 [vpopmail] vchkpw-smtp: (PLAIN) login success
[EMAIL PROTECTED]:148.64.71.106


It looks like it doesn't call vchkpw.  If it did, you'd see [vpopmail] 
vchkpw-pop3: in the logs.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] smtp auth - md5 learn pass

2005-06-19 Thread Casey Allen Shobe
On Monday 20 June 2005 00:49, Tom Collins wrote:
 Does dovecot link directly to libvpopmail?  If so, did you
 recompile dovecot after enabling learn passwords and cleartext
 passwords in vpopmail?  If not, it's still linked to the old
 vpopmail code.

I don't know what dovecot does.  I recompiled it and restarted it, 
no difference.  Here's what shows up in the mail facility for 
syslog:

# tail -f /var/log/mail/current
Jun 20 04:08:51 [imap-login] Login: [EMAIL PROTECTED] [71.113.2.184]
Jun 20 04:08:56 [pop3-login] Login: [EMAIL PROTECTED] [64.125.210.7]
Jun 20 04:08:56 [pop3-login] Login: [EMAIL PROTECTED] [66.15.68.87]
Jun 20 04:08:57 [pop3-login] Login: [EMAIL PROTECTED] [67.160.31.225]
Jun 20 04:09:07 [pop3-login] Login: [EMAIL PROTECTED] [24.41.46.242]
Jun 20 04:09:09 [pop3-login] Login: [EMAIL PROTECTED] [66.15.68.87]
Jun 20 04:09:12 [vpopmail] vchkpw-smtp: (PLAIN) login success 
[EMAIL PROTECTED]:71.113.2.184
Jun 20 04:09:16 [pop3-login] Login: [EMAIL PROTECTED] [66.213.206.34]
Jun 20 04:09:22 [vpopmail] vchkpw-smtp: (PLAIN) login success 
[EMAIL PROTECTED]:148.64.71.106

pop3-login and imap-login are subprocesses of dovecot.

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM  Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


Re: [vchkpw] smtp auth - md5 learn pass

2005-06-18 Thread Casey Allen Shobe
On Friday 17 June 2005 20:20, Sylwester S. Biernacki 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. :(

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM  Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


[vchkpw] smtp auth - md5 learn pass

2005-06-17 Thread Sylwester S. Biernacki
Dear all,

  does anybody know is there any faq or instruction set to make
  upgrade from normal pop-before-smtp to SMTP AUTH with MD5 ?

  I have problems with MD5 (plain auth works ok) and donna know whats
  wrong because I configured that with instructions written to sbdy
  who had problems with that, read at this forum.

  I've made the following scenario:

  1. I've reconfigured vpopmail and added --enable-learn-passwords=y
  and --enable-clear-passwd=y
  2. I've add the following line into vpopmail table in mysql db:
ALTER TABLE `vpopmail` ADD `pw_clear_passwd` CHAR( 16 ) AFTER `pw_shell` ;

  3. I try to send mail with SMTP AUTH MD5 and it gives me AUTH
  FAILED
  4. I try to send the same mail with SMTP AUTH PLAIN and it works

  5. I try to put my password in pw_clear_passwd field in and after
  that md5 auth works perfectly.
  
  I know that I have to have pw_clear_passwd to make md5 hash from
  that and to compare with that written during smtp conversation.
  However I thought that learn-passwords switch will do that for me.

  I read that I should try clear pw_passwd and try to send an email
  then, but it doesn't work and I get the following error:
  oops, unable to write pipe and I can't auth (#4.3.0)

  I know that I'm doing sth wrong, but I donna know what.


-- 
regards,
Sylwester Biernacki [EMAIL PROTECTED]




Re: [vchkpw] smtp auth - md5 learn pass

2005-06-17 Thread Casey Allen Shobe
On Friday 17 June 2005 17:42, Sylwester S. Biernacki wrote:
   1. I've reconfigured vpopmail and added
 --enable-learn-passwords=y and --enable-clear-passwd=y

What is --enable-learn-passwords?  If it does what I'm guessing it 
does by name and starts recording missing cleartext entries in 
vpasswd files, that would be very useful to us!!

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM  Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com


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

2005-06-17 Thread Sylwester S. Biernacki

On Friday, June 17, 2005, 10:06:46 PM, Casey wrote:

 On Friday 17 June 2005 17:42, Sylwester S. Biernacki wrote:
   1. I've reconfigured vpopmail and added
 --enable-learn-passwords=y and --enable-clear-passwd=y

 What is --enable-learn-passwords?  If it does what I'm guessing it 
 does by name and starts recording missing cleartext entries in 
 vpasswd files, that would be very useful to us!!
AFAIR it does exactly what you said.

-- 
regards,
Sylwester Biernacki [EMAIL PROTECTED]