You have chosen to sponsor your bid up to a maximum amount of .
Hi, I need someone to write me either a perl or PHP script for the purpose of automating the replication of mailboxes using mail server software Dovecot's replication utility 'dsync'. At the moment users usernames and SSH password needs to be entered manually for each mailbox which only lets me run the dsync command one line at a time. The destination server is also a remote server so SSH password needs to be manually entered after entering the command. Ideally I would like to store the destination SSH credentials in the script and retrieve (or loop) the username list from dovecots 'doveadm user "*"' command -which prints a list of users.
It must be flexible in that I can change the destination server and SSH credentials easily, this can be a variable defined in the header.
It will be run using a cron job.
Programmer's with PHP or perl experience need only apply and someone with knowledge of dovecot email server would be highly regarded.