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 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 user .qmail patch > > 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.. > > # grep example.com /var/qmail/users/assign > +example.com-:example.com:1010:1010:/home/vpopmail/domains/1/a > /example.com:-:: > > or, perl... ;p > > http://jeremy.kister.net/code/perl/change-vpopmail-files.pl > > -- > > Jeremy Kister > http://jeremy.kister.net./ > > > > >