Re: [vchkpw] How to bypass quota

2006-04-15 Thread John Simpson
On 2006-04-14, at 0426, Olivier JUDITH wrote: I use qmail + vpopmail + courrier-imap ... and i have activated quota for each users to 100M . It work fine fine but, some users would like to be prevent when their Maildir box size is greater than quota and continue to receive their mail. Can i d

Re: [vchkpw] Force Auth from all but localhost

2006-04-15 Thread John Simpson
On 2006-04-14, at 0338, Sascha Ebach wrote: how can I enforce that everybody (except localhost) has to authenticate via smtp auth. my combined patch, version 6 or newer, includes this functionality. http://qmail.jms1.net/patches/combined.shtml you can export a REQUIRE_AUTH=1 enviro

Re: [vchkpw] Force Auth from all but localhost

2006-04-15 Thread Remo Mattei
I wonder if you have a similar patch like chkuser in your combined patch. Thanks, Remo John Simpson wrote: > On 2006-04-14, at 0338, Sascha Ebach wrote: >> >> how can I enforce that everybody (except localhost) has to >> authenticate via smtp auth. > > my combined patch, version 6 or newer, inc

[vchkpw] ONCHANGE behavior

2006-04-15 Thread Rick Widmer
John Simpson & Robin Bowes Do you really want the onchange function to be called three times on an add_domain operation, and two times on an add_user operation? I find it problematic that you are notified of the mod_user before the add_user, and personally would prefer only one call per opera

[vchkpw] Re: ONCHANGE behavior

2006-04-15 Thread Robin Bowes
Rick Widmer wrote: > John Simpson & Robin Bowes > > Do you really want the onchange function to be called three times on an > add_domain operation, and two times on an add_user operation? I find it > problematic that you are notified of the mod_user before the add_user, > and personally would pre

Re: [vchkpw] Force Auth from all but localhost

2006-04-15 Thread John Simpson
On 2006-04-15, at 1003, Remo Mattei wrote: John Simpson wrote: On 2006-04-14, at 0338, Sascha Ebach wrote: how can I enforce that everybody (except localhost) has to authenticate via smtp auth. my combined patch, version 6 or newer, includes this functionality. http://qmail.jms1.net/pat

Re: [vchkpw] Re: ONCHANGE behavior

2006-04-15 Thread Rick Widmer
Robin Bowes wrote: Rick Widmer wrote: John Simpson & Robin Bowes Do you really want the onchange function to be called three times on an add_domain operation, and two times on an add_user operation? I find it problematic that you are notified of the mod_user before the add_user, and personal

Re: [vchkpw] ONCHANGE behavior

2006-04-15 Thread John Simpson
On 2006-04-15, at 1756, Rick Widmer wrote: Do you really want the onchange function to be called three times on an add_domain operation, and two times on an add_user operation? I find it problematic that you are notified of the mod_user before the add_user, and personally would prefer onl

Re: [vchkpw] Re: ONCHANGE behavior

2006-04-15 Thread John Simpson
On 2006-04-15, at 1917, Rick Widmer wrote: Robin Bowes wrote: I must admit I've not actually looked at John's code. However, my thoughts (based on your comments) are as follows: add_user should be called as well as add_domain when a new domain is created - these are separate actions that happen

Re: [vchkpw] ONCHANGE behavior

2006-04-15 Thread Rick Widmer
John Simpson wrote: On 2006-04-15, at 1756, Rick Widmer wrote: Do you really want the onchange function to be called three times on an add_domain operation, and two times on an add_user operation? I find it problematic that you are notified of the mod_user before the add_user, and pers

Re: [vchkpw] ONCHANGE behavior

2006-04-15 Thread Rick Widmer
Sorry, when I got your last message I missed one point... Rick Widmer wrote: John Simpson wrote: (1) please include the URL http://qmail.jms1.net/patches/ vpopmail.shtml in the file, so that poeple can easily find the documentation i have written (and will be maintaining) for it. i'll be w

Re: [vchkpw] Re: ONCHANGE behavior

2006-04-15 Thread Rick Widmer
John Simpson wrote: i can understand this. however, since the call_onchange() function waits for the script to complete, it is up to you as the author of an onchange script to make it run as quickly as possible. as i explained before, my "onchange" script sends its command line arguments to

Re: [vchkpw] Re: ONCHANGE behavior

2006-04-15 Thread Tom Collins
On Apr 15, 2006, at 4:17 PM, Rick Widmer wrote: I believe adduser() calls moduser() to store the data about the user in the vpasswd file, or the database. My recollection is that it calls moduser to set the quota. The original adduser() API in the backends didn't allow for setting a quota wh

[vchkpw] ONCHANGE in CVS

2006-04-15 Thread Rick Widmer
I've just committed John Simpson's onchange patch. I've added the ability to enable it with --enable-onchange-script, and a file README.onchange. I've also suppressed a few calls to the script that I considered redundant. It should be available in anonymous CVS within a couple of hours.

Re: [vchkpw] ONCHANGE behavior

2006-04-15 Thread John Simpson
On 2006-04-15, at 2152, Rick Widmer wrote: Rick Widmer wrote: John Simpson wrote: (1) please include the URL http://qmail.jms1.net/patches/ vpopmail.shtml in the file, so that poeple can easily find the documentation i have written (and will be maintaining) for it. i'll be watching this

Re: [vchkpw] ONCHANGE in CVS

2006-04-15 Thread John Simpson
On 2006-04-16, at 0050, Rick Widmer wrote: I've just committed John Simpson's onchange patch. I've added the ability to enable it with --enable-onchange-script, and a file README.onchange. cool... except that i've updated the patch twice today, and i'm in the process of building anothe

Re: [vchkpw] Re: ONCHANGE behavior

2006-04-15 Thread John Simpson
(re-arranging things so the sequence of my answers makes sense...) On 2006-04-15, at 2237, Rick Widmer wrote: John Simpson wrote: if the "onchange" script needs to know whether the user's request affected a real or alias domain, simply look to see if there IS another domain listed afterward

Re: [vchkpw] ONCHANGE in CVS

2006-04-15 Thread Rick Widmer
John Simpson wrote: On 2006-04-16, at 0050, Rick Widmer wrote: I've just committed John Simpson's onchange patch. I've added the ability to enable it with --enable-onchange-script, and a file README.onchange. cool... except that i've updated the patch twice today, and i'm in the pr