Hi, I need someone to write me either a perl or shell script 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 shell script or perl experience need only apply and someone with knowledge of dovecot email server would be highly regarded.
22 freelancers are bidding on average $86 for this job
Hello, I have over 8 years experience as an Linux admin. I can create the script to be running via cron. Please feel free to ask if you have any questions. Thank You
Greetings, can write console cron perl script that will read config file call doveadm and then call dsync with required ssh credentials. Will provide quality and flexible solution. Regards Max