[vchkpw] vpopmail and learn passwords

2003-08-26 Thread Werner Schalk
Hi,

I am using the latest release of vpopmail and I can't find a documentation on 
this learn passwords option. How must I use it? I mean I have compiled 
vpopmail including --enable-learn-passwords but how must I add a new user 
that his or her password will be learned when he or she logs in?

Bye and thanks,
Werner.




RE: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Shane Chrisp
All you need to do is add the pw_name and the pw_domain 
fields into the vpopmail table ane leave the other options 
blank. The users home dir will be created when they pop in
or receive some email.

Shane

-Original Message-
From: Werner Schalk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 26 August 2003 5:47 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail and learn passwords


Hi,

I am using the latest release of vpopmail and I can't find a 
documentation on 
this learn passwords option. How must I use it? I mean I have compiled 
vpopmail including --enable-learn-passwords but how must I add 
a new user 
that his or her password will be learned when he or she logs in?

Bye and thanks,
Werner.







Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Werner Schalk
Hi,

where do I find this table if I am not using mysql?
Could you provide an example?

Bye and thanks,
Werner.




RE: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Shane Chrisp
Im not too sure about if or how this works without using
mysql. Maybe Tom or one of the others can shed some more
light on this one.

Shane

-Original Message-
From: Werner Schalk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 26 August 2003 5:59 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail and learn passwords


Hi,

where do I find this table if I am not using mysql?
Could you provide an example?

Bye and thanks,
Werner.







Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Ken Jones
It does not work with the cdb module. 
Here is what I tested
vpopmail 5.3.21 configured for cdb
1) vadddomain test.com test
2) vi vpasswd
add a line for a test account, including postmaster it is:
postmaster:$1$RBVsu$EAxcmcNxWptVo46fkmrKc/:1:0:Postmaster:/home/vpopmail/domains
/test.com/postmaster:5000:test
kbo::1:0:kbo::5000:test

3) echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

qmail log shows the following:
@40003f4b81c304f468e4 info msg 2376106: bytes 205 from 
[EMAIL PROTECTED] qp 14701 uid 0
@40003f4b81c30566222c starting delivery 2: msg 2376106 to local 
[EMAIL PROTECTED]
@40003f4b81c3056629fc status: local 1/100 remote 0/400
@40003f4b81c30897a754 delivery 2: failure: 
Auto_re-creation_of_maildir_failed._vpopmail_(#5.9.9)/
@40003f4b81c30897b30c status: local 0/100 remote 0/400
@40003f4b81c309b29cd4 bounce msg 2376106 qp 14705

That is in vdelivermail.c
I would check the values in the vpw structure (print them out).
Probably vpw-pw_dir is neither NULL nor an empty string,
so it doesn't create the maildir. This might be due to 
processing empty fields in the cdb module.

Ken Jones
inter7.com


On Tuesday 26 August 2003 5:09 am, Shane Chrisp wrote:
 Im not too sure about if or how this works without using
 mysql. Maybe Tom or one of the others can shed some more
 light on this one.

 Shane

 -Original Message-
 From: Werner Schalk [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, 26 August 2003 5:59 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [vchkpw] vpopmail and learn passwords


 Hi,

 where do I find this table if I am not using mysql?
 Could you provide an example?

 Bye and thanks,
 Werner.




Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Tom Collins
On Tuesday, August 26, 2003, at 08:59  AM, Ken Jones wrote:
It does not work with the cdb module.
Here is what I tested
vpopmail 5.3.21 configured for cdb
1) vadddomain test.com test
vadduser -n [EMAIL PROTECTED]

(adds user test with no password)

Then try logging it and check the ~vpopmail/domains/test.com/vpasswd 
file for the password.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Oden Eriksson
tisdagen den 26 augusti 2003 18.23 skrev Tom Collins:
 On Tuesday, August 26, 2003, at 08:59  AM, Ken Jones wrote:
  It does not work with the cdb module.
  Here is what I tested
  vpopmail 5.3.21 configured for cdb
  1) vadddomain test.com test

 vadduser -n [EMAIL PROTECTED]

 (adds user test with no password)

 Then try logging it and check the ~vpopmail/domains/test.com/vpasswd
 file for the password.

Remember to check if FOOB is in the source?




Re: [vchkpw] vpopmail and learn passwords

2003-08-26 Thread Werner Schalk
Hi,

ok maybe for the archives:

# vadduser -n [EMAIL PROTECTED]

So a user [EMAIL PROTECTED] will be created (as Tom said). Now when that user logs 
in, the passwords gets learned.

Bye and thanks,
Werner.