I have a box running lenny/postfix/mysql/etc with virtual domains/users and want to make a backup mx box. Can I just rsync -auv the /home/vmail maildirs and periodically sync the mysql db which holds the maps/users into the backup mx box, or is it more complicated than that? Will I lose passwords or break encryption or certs somehow? If this a good way to do it, I'll post the scripts I use to do it.
I don't think so. If you sync the mailboxes with rsync (imapsync might be an option as well, see http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync ) and the database with MySQL replication, you should be fine.