RE: [vchkpw] Per user .qmail patch

2005-12-17 Thread Charles J. Boening
; Sent: Friday, December 16, 2005 10:46 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] Per user .qmail patch > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Charles J. Boening wrote: > > cat /var/qmail/users/assign | gawk -F ':' '{ print $5}'

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] Per user .qmail patch

2005-12-16 Thread Charles J. Boening
xargs -i rename qmail vpopmail '{}' Starting to look a little convoluted. :) Charlie > -Original Message- > From: Jeremy Kister [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 2:46 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] Per

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
'll have to go back and read again. > > > Charlie > > > > > -Original Message- > > From: Jeremy Kister [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 16, 2005 2:21 PM > > To: vchkpw@inter7.com > > Subject: Re: [vchkpw] Per us

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
read again. Charlie > -Original Message- > From: Jeremy Kister [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 2:21 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] Per user .qmail patch > > On 12/16/2005 3:00 PM, Charles J. Boening wrote: > > D

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
cember 16, 2005 12:22 PM > To: vchkpw@inter7.com > Subject: Re: [vchkpw] Per user .qmail patch > > Charles J. Boening wrote: > > Don't really need a perl script. This should work. > > > > find /home/vpopmail/domains -name .qmail* | xargs -i rename qmail > &

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
> To: vchkpw@inter7.com > Subject: Re: [vchkpw] Per user .qmail patch > > 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 &

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