With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I require a script to do monthly maintenance of maildir folders for a typical CentOS LAMP VPS hosting environment.
I would like to run a script that runs from a monthly cron job, searches each mail account folder (cur) for mail by year and month, and moves the found mails into sub folders by year and month eg:
mail-account-name/.Archive\ Inbox.2012-08\ Aug/
mail-account-name/.Archive\ Inbox.2012-09\ Sep/
The script will also search the (.Sent) folder of each mail account folder and move mail year and month into sub folders year and month eg
mail-account-name/.Archive\ Sent.2012-08\ Aug/
mail-account-name/.Archive\ Sent.2012-09\ Sep/
It is important the the script gives the correct permissions to the moved files and folders created, so that the user of the mail account folder may access the folders and mails.
The script needs to also flag the newly created folders as subscribed to so that an email reader will automatically see the new folders.
Sign in or Register to see more