XMail 2 Dovecot Sync 2

This is a script that will simple list all users in all domains.
and output all there info in a shadow-file format. With either passwd
encrpyted as md5 OR clear text.

username@domain:MD5-passwd
OR
username@domain:Clear_Text

Install How To: 
1. Download file to MailRoot/bin/
2. rename from xmail_sync.phps to xmail_sync.php

To run:
1. MailRoot/bin/xmail_sync.php LOCATION_of_mailusers.tab OUT_PUT_FILE_LOCATION md5|clear

examples:

To make a md5 passwd file: 
MailRoot/bin/xmail_sync.php /var/MailRoot/mailusers.tab /var/MailRoot/dovecot_users.tab md5

To make a clear text file:
MailRoot/bin/xmail_sync.php /var/MailRoot/mailusers.tab /var/MailRoot/dovecot_users.tab clear
ċ
xmail_sync.phps
(2k)
Chris Franklin,
Jan 11, 2010, 4:15 PM
Comments