Need help in developing a script
I could do with some scripting help. For experts it should be a breeze..
I would like to write a script that automatically sets up disk quotas for user accounts across all domains on my virtual mail server.
The domains are domain1.com domain2.com domain3.com ...
the user accounts under each domain are user1 user 2 user3.
Right now i have to manually go to each domain under
Here all the user folders are listed.
Then i have to type
maildirmake -q 10000000S USERNAME
repeat this for each username.
The repeat this for each domain.
how can i write a script do do this?
apologize is this is the wrong place to ask this kind and level of question.