L
lpittman
Guest
Help with a bash script to update .qmail files?
Hey,
I'm hoping someone can help me out - I'm trying to write a simple script to do the following:
- Read a list of mailnames (either /domain.ext/* or /domain.ext/specificaddress
- Loop through each and copy a .qmail file into each folder (if its a /* it'll go to every folder in there, otherwise it goes to the specific mailname)
The reason - I have a bunch of customers setup with a unique maildrop filter that gets called by the .qmail file. However every time I do any changes to Plesk or anything they get overwritten. So I need to be able to easily write them back ...
Thanks in advance.
Luke
Hey,
I'm hoping someone can help me out - I'm trying to write a simple script to do the following:
- Read a list of mailnames (either /domain.ext/* or /domain.ext/specificaddress
- Loop through each and copy a .qmail file into each folder (if its a /* it'll go to every folder in there, otherwise it goes to the specific mailname)
The reason - I have a bunch of customers setup with a unique maildrop filter that gets called by the .qmail file. However every time I do any changes to Plesk or anything they get overwritten. So I need to be able to easily write them back ...
Thanks in advance.
Luke