Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles J. Boening wrote: > cat /var/qmail/users/assign | gawk -F ':' '{ print $5}' | xargs -i find > '{}' -mindepth 2 -name .qmail* | xargs -i rename qmail vpopmail '{}' Debate your bash scripts all day ;) The project should still allow for both met

Re: [vchkpw] Re: domain/.qmail-user vs user/.qmail [was: Per user .qmail patch]

2005-12-16 Thread Rick Widmer
Jeremy Kister wrote: On 12/16/2005 6:43 PM, Rick Macdougall wrote: What's the advantage of this over .qmail-user-list in the main domain directory ? Which spawns an equally interesting question -- why have user/.qmail at all? I cant think of any scenarios where user/.qmail is needed.. Be

[vchkpw] Re: domain/.qmail-user vs user/.qmail [was: Per user .qmail patch]

2005-12-16 Thread Jeremy Kister
On 12/16/2005 6:43 PM, Rick Macdougall wrote: > What's the advantage of this over .qmail-user-list in the main domain > directory ? Which spawns an equally interesting question -- why have user/.qmail at all? I cant think of any scenarios where user/.qmail is needed.. user/.qmail hurts performa

RE: [vchkpw] Per user .qmail patch

2005-12-16 Thread Charles J. Boening
Ahhh ... Got it. I only have a couple domains so I don't do domain hashing. :) Sorry ... I can't resist. Friday and all. Here's another stab. cat /var/qmail/users/assign | gawk -F ':' '{ print $5}' | xargs -i find '{}' -mindepth 2 -name .qmail* | xargs -i rename qmail vpopmail '{}' Starting

[vchkpw] vpopmail 5.4.14 soon?

2005-12-16 Thread FX
Hi, Any chance of vpopmail 5.4.14 getting released within a few days? I'm trying to squeeze in the latest versions because changing after launch is painful here (due to Debian-like policies regarding updates after launch).

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Rick Macdougall
Drew Wells wrote: Yep, it is exactly that. At the moment I have all the files in ~vpopmail/domains// called '.qmail'. I have attached the patch 'as is' that I have been using for a while now, and have also quickly modded the patch in include .vpopmail files (as a secondary to .qmail, please no

RE: [vchkpw] Per user .qmail patch

2005-12-16 Thread Drew Wells
Yep, it is exactly that. At the moment I have all the files in ~vpopmail/domains// called '.qmail'. I have attached the patch 'as is' that I have been using for a while now, and have also quickly modded the patch in include .vpopmail files (as a secondary to .qmail, please note this is untested

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Jeremy Kister
On 12/16/2005 5:21 PM, Charles J. Boening wrote: > I thought that was the proposal. To call the files .vpopamil files > since vdelivermail was actually doing the delivery. You'd still have > .qmail files in the ~vpopmail/domains/ directory but the > ~vpopmail/domains// directory would have > .vpo

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Jeremy Kister
On 12/16/2005 4:41 PM, Charles J. Boening wrote: > Details, details :) > > I'm sure you could filter those out. > > find /home/vpopmail/domains -mindepth 3 -name .qmail* | xargs -i rename > qmail vpopmail '{}' now you've broken those with large numbers of domains and domain hashing.. # gre

RE: [vchkpw] Per user .qmail patch

2005-12-16 Thread Charles J. Boening
I thought that was the proposal. To call the files .vpopamil files since vdelivermail was actually doing the delivery. You'd still have .qmail files in the ~vpopmail/domains/ directory but the ~vpopmail/domains// directory would have .vpopamail files. Guess I'll have to go back and read again.

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Jeremy Kister
On 12/16/2005 3:00 PM, Charles J. Boening wrote: > Don't really need a perl script. This should work. > > find /home/vpopmail/domains -name .qmail* | xargs -i rename qmail > vpopmail '{}' from your suggestion, I think you're one of the people who are confused. :) renaming all .qmail* files in ~

RE: [vchkpw] Per user .qmail patch

2005-12-16 Thread Charles J. Boening
Details, details :) I'm sure you could filter those out. find /home/vpopmail/domains -mindepth 3 -name .qmail* | xargs -i rename qmail vpopmail '{}' :) Charlie > -Original Message- > From: Rick Macdougall [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 12:22 PM > T

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Kister wrote: > It's hard for some people to understand what qmail-local does and what > vdelivermail does; calling files ".qmail" which are actually handled by > vdelivermail is misleading. If this is a concern, it would make more sense to all

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Rick Macdougall
Charles J. Boening wrote: Don't really need a perl script. This should work. find /home/vpopmail/domains -name .qmail* | xargs -i rename qmail vpopmail '{}' Except for the small problem of replacing the .qmail files for qmail-local in the domain directories :)

RE: [vchkpw] Per user .qmail patch

2005-12-16 Thread Charles J. Boening
Don't really need a perl script. This should work. find /home/vpopmail/domains -name .qmail* | xargs -i rename qmail vpopmail '{}' Charlie > -Original Message- > From: Jeremy Kister [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 11:47 AM > To: vchkpw@inter7.com > Subjec

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Jeremy Kister
On Fri, 16 Dec 2005 16:03:07 + (GMT), Drew Wells wrote: > I have patched VpopMail 5.4.13 so that each user in a domain can have > there E-Mail handled by there own set of .qmail files (in > /var/vpopmail/domains/{domain}/{user}), this is a patch to > 'int check_forward_deliver(char *dir)' in v

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread DAve
Drew Wells wrote: Yep, exactly that. I am using '[EMAIL PROTECTED]' and it is handled by /var/vpopmain/domains/elysium.ltd.uk/drew/.qmail-vpopmail. I like it, good idea. DAve On Fri, 16 Dec 2005, DAve wrote: Drew Wells wrote: It extends the normal use of .qmail file to .qmail, .qmail-d

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Drew Wells
Yep, exactly that. I am using '[EMAIL PROTECTED]' and it is handled by /var/vpopmain/domains/elysium.ltd.uk/drew/.qmail-vpopmail. On Fri, 16 Dec 2005, DAve wrote: > Drew Wells wrote: > > It extends the normal use of .qmail file to .qmail, .qmail-default, > > .qmail-extension and .qmail-extensi

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread DAve
Drew Wells wrote: It extends the normal use of .qmail file to .qmail, .qmail-default, .qmail-extension and .qmail-extension-default based on the remaining extension on the incoming E-Mail address in the order as specified in the qmail source code. I may be slow, it's been a very long month al

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Drew Wells
Yes, it does - I think there may be a slight issue with 'Delivered-To:', but not sure what to do about it. On Fri, 16 Dec 2005, Ken Jones wrote: > That sounds like a pretty good patch to me. > > So it completes the vpopmail .qmail file processing > functionality to match what qmail-local suppor

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Ken Jones
That sounds like a pretty good patch to me. So it completes the vpopmail .qmail file processing functionality to match what qmail-local supports including . to : character handling? Ken Jones Drew Wells wrote: It extends the normal use of .qmail file to .qmail, .qmail-default, .qmail-extension

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread Drew Wells
It extends the normal use of .qmail file to .qmail, .qmail-default, .qmail-extension and .qmail-extension-default based on the remaining extension on the incoming E-Mail address in the order as specified in the qmail source code. On Fri, 16 Dec 2005, DAve wrote: > Drew Wells wrote: > > I have

Re: [vchkpw] Per user .qmail patch

2005-12-16 Thread DAve
Drew Wells wrote: I have patched VpopMail 5.4.13 so that each user in a domain can have there E-Mail handled by there own set of .qmail files (in /var/vpopmail/domains/{domain}/{user}), this is a patch to 'int check_forward_deliver(char *dir)' in vdelivermail.c. This means for us when we delete

[vchkpw] Per user .qmail patch

2005-12-16 Thread Drew Wells
I have patched VpopMail 5.4.13 so that each user in a domain can have there E-Mail handled by there own set of .qmail files (in /var/vpopmail/domains/{domain}/{user}), this is a patch to 'int check_forward_deliver(char *dir)' in vdelivermail.c. This means for us when we delete an E-Mail address