Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-08 Thread Rick Widmer
Your vdominfo, cslogin.2 and README.vpopmaild patches are now in SourceForge CVS, in the HEAD branch. I'll try to have your onchange patch in, test a little and see if I can prepare a release before the weekend is over. I won't get much done Saturday since I will be helping out at the loca

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-04 Thread John Simpson
On 2006-04-03, at 1442, John Simpson wrote: On 2006-04-03, at 0727, Rick Widmer wrote: In the patch, how do you separate password and real_name in add_user? I know the help doesn't mention it, but I think it requires a real name value to put into GECOS. It is at least an option. good

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread John Simpson
On 2006-04-03, at 1609, Robin Bowes wrote: This is how I've implemented a plugin for qpsmtpd that auths against vpopmaild. It's extremely easy: # create socket my $vpopmaild_socket = IO::Socket::INET->new(PeerAddr => vpopmaild_host, PeerPort =>

[vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread Robin Bowes
John Simpson wrote: > > (2) have qmail-smtpd open a socket to a vpopmaild service, or a > courierauthd service (i wrote a simple widget which handles the > "login", "help", and "quit" commands, but uses courier-authlib instead > of libvpopmail) and uses that to verify the ID and password which

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread John Simpson
On 2006-04-03, at 1159, Tom Collins wrote: On Apr 3, 2006, at 5:24 AM, Robin Bowes wrote: Rick Widmer wrote: I was under the impression your interest is based on Robin Bowes suggestion about the validrcptto.cdb patch, so it is "does this mailbox exist." We may as well make it easy, it shou

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread John Simpson
On 2006-04-03, at 0824, Robin Bowes wrote: Rick Widmer wrote: I was under the impression your interest is based on Robin Bowes suggestion about the validrcptto.cdb patch, so it is "does this mailbox exist." We may as well make it easy, it should be a popular function. Yes - having this

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread John Simpson
On 2006-04-03, at 0727, Rick Widmer wrote: John Simpson wrote: > and since i now have two different patches for vpopmail, it's time to > create a new web page to hold them. both patches are available from > this page, which includes basic documentation for the new features. > >http://qmail

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread Tom Collins
On Apr 3, 2006, at 5:24 AM, Robin Bowes wrote: Rick Widmer wrote: I was under the impression your interest is based on Robin Bowes suggestion about the validrcptto.cdb patch, so it is "does this mailbox exist." We may as well make it easy, it should be a popular function. Yes - having thi

[vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread Robin Bowes
Rick Widmer wrote: > > I was under the impression your interest is based on Robin Bowes > suggestion about the validrcptto.cdb patch, so it is "does this mailbox > exist." We may as well make it easy, it should be a popular function. Yes - having this functionality would obviate the need to mai

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread Rick Widmer
John Simpson wrote: > and since i now have two different patches for vpopmail, it's time to > create a new web page to hold them. both patches are available from > this page, which includes basic documentation for the new features. > >http://qmail.jms1.net/patches/vpopmail.html Actually its

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-03 Thread John Simpson
On 2006-04-02, at 0829, Rick Widmer wrote: John Simpson wrote: On 2006-04-01, at 0547, Rick Widmer wrote: I was planning if you would like a way to see if a user exists without returning anything else... that's certainly a possibility, easy enough to add... should that be available to a

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-02 Thread John Simpson
On 2006-04-02, at 0809, Rick Widmer wrote: Robin Bowes wrote: So, a system only needing to validate credentials would just need to login and quit. Which is what slogin will do. You may not even have to quit. It could just return OK or ERROR, and exit. I'm not sure what John did, but he

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-02 Thread Rick Widmer
Rick Widmer wrote: I haven't been able to access the SourceForge CVS server for the last two days. I think they may have changed the rules, and may have found what I need to do in the docs... which is what I was doing when I stopped to answer these messages. The answer from SourceForge: (

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-02 Thread Rick Widmer
John Simpson wrote: On 2006-04-01, at 0547, Rick Widmer wrote: What do you think about login | clogin | slogin? sounds good to me, as long as it's consistent and documented somewhere- both in README.vpopmaild and in the "vpopmaild" wiki entry. It will be. I was planning if you would li

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-02 Thread Rick Widmer
Robin Bowes wrote: We are proposing alternative login methods because the current "login" method returns all user information after a successful login, yes? Kind of. Why not change the behaviour so that "login" does just that - it logs in, and add another command that returns the informatio

[vchkpw] Re: 5.4.15 onchange patch

2006-04-02 Thread Robin Bowes
John Simpson wrote: > On 2006-04-01, at 0547, Rick Widmer wrote: > >> John Simpson wrote: >> >>> let me suggest an alternative- instead of "login user pass >>> compact", how about "login/compact user pass"? this allows the >>> password to be the last thing on the line, and therefore contain >

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-02 Thread John Simpson
On 2006-04-01, at 0547, Rick Widmer wrote: John Simpson wrote: let me suggest an alternative- instead of "login user pass compact", how about "login/compact user pass"? this allows the password to be the last thing on the line, and therefore contain spaces, and still allows for a "compac

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-04-01 Thread Rick Widmer
John Simpson wrote: how does vpopmaild handle users who have spaces in their passwords? Right now it doesn't. I'm not sure if it did before I added compact or not. I definitely want to keep compact mode, it made a big difference in responsiveness when I was testing. let me suggest an al

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-03-31 Thread John Simpson
On 2006-03-30, at 2124, Rick Widmer wrote: John Simpson wrote: http://qmail.jms1.net/vpopmaild.shtml shows a clearer example of how to run vpopmaild under daemontools, by the way. Nice page! Just a thought... if you are only using vpopmaild to verify user logins, you might want to use

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-03-30 Thread Rick Widmer
John Simpson wrote: http://qmail.jms1.net/vpopmaild.shtml shows a clearer example of how to run vpopmaild under daemontools, by the way. Nice page! Just a thought... if you are only using vpopmaild to verify user logins, you might want to use the compact flag. login [EMAIL PROTECTE

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-03-30 Thread John Simpson
On 2006-03-30, at 1019, Robin Bowes wrote: John Simpson wrote: http://qmail.jms1.net/vpopmaild.shtml shows a clearer example of how to run vpopmaild under daemontools, by the way. Clearer than what? clearer that the first few lines of README.vpopmaild from the source code, which are s

[vchkpw] Re: 5.4.15 onchange patch

2006-03-30 Thread Robin Bowes
John Simpson wrote: > On 2006-03-27, at 1304, Robin Bowes wrote: >> John, >> >> Can this be modified to pass parameters to the program/script? For >> example, the action that has just occurred, plus any data associated >> with that action? e.g. "onchange useradd [EMAIL PROTECTED]" > > > i guess i

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-03-30 Thread John Simpson
On 2006-03-27, at 1304, Robin Bowes wrote: John Simpson wrote: i have written a patch against vpopmail-5.4.15 which causes any changes to trigger "~vpopmail/etc/onchange", if it exists and if it is executable to the userid which is running the vpopmail program. the patch can be downloaded,

[vchkpw] Re: 5.4.15 onchange patch

2006-03-28 Thread Robin Bowes
Tom Collins wrote: > On Mar 28, 2006, at 10:37 AM, Robin Bowes wrote: > >> However, I see that doing "stuff" when you create users logically >> belongs with the program that creates users - vpopmail in this case. So >> to my "perfectionist" mind, I'd rather make vpopmail do this once when >> the u

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-03-28 Thread Tom Collins
On Mar 28, 2006, at 10:37 AM, Robin Bowes wrote: However, I see that doing "stuff" when you create users logically belongs with the program that creates users - vpopmail in this case. So to my "perfectionist" mind, I'd rather make vpopmail do this once when the user is added than checking for it

[vchkpw] Re: 5.4.15 onchange patch

2006-03-28 Thread Robin Bowes
Michael Krieger wrote: > It is indeed possible to use wrappers as you do, but this adds overhead > to every invocation of [insert progran here] which I'd rather avoid. > > How much overhead do you think executing a shell script and an internal > call to test implements? How often do you t

Re: [vchkpw] Re: 5.4.15 onchange patch

2006-03-28 Thread Michael Krieger
It is indeed possible to use wrappers as you do, but this adds overheadto every invocation of [insert progran here] which I'd rather avoid. How much overhead do you think executing a shell script and an internal call to test implements?  How often do you think IMAP connections are made?  Think o

[vchkpw] Re: 5.4.15 onchange patch

2006-03-28 Thread Robin Bowes
Michael Krieger wrote: > The reason > I mention this is that I'm having a bugger of a job getting > my code that implements skel dirs to work with vqadmin - it > works fine from the command line (as root) but I get a > permission denied error when executing from vqadmin. > > H

[vchkpw] Re: 5.4.15 onchange patch

2006-03-28 Thread Robin Bowes
Charles J. Boening wrote: > Why not use the .qmail-default to process your skeleton directories? > Have it call a script that can test for the existence of the directory > and then copy the skeleton as appropriate. Because that would add overhead to every mail delivery for something that is a one-

RE: [vchkpw] Re: 5.4.15 onchange patch

2006-03-27 Thread Michael Krieger
 The reason I mention this is that I'm having a bugger of a job getting my code that implements skel dirs to work with vqadmin - it works fine from the command line (as root) but I get a permission denied error when executing from vqadmin.Have you thought at all about just wrapping your qmail prog

RE: [vchkpw] Re: 5.4.15 onchange patch

2006-03-27 Thread Charles J. Boening
ets their first email. Charlie > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robin Bowes > Sent: Monday, March 27, 2006 10:04 AM > To: vchkpw@inter7.com > Subject: [vchkpw] Re: 5.4.15 onchange patch > > John Simpson wrote: > > i have wri

[vchkpw] Re: 5.4.15 onchange patch

2006-03-27 Thread Robin Bowes
John Simpson wrote: > i have written a patch against vpopmail-5.4.15 which causes any changes > to trigger "~vpopmail/etc/onchange", if it exists and if it is > executable to the userid which is running the vpopmail program. the > patch can be downloaded, and simple directions found, at the bot