[Dovecot] Post login scripting and imapsync on user login

Tomislav Mihalicek tomislav.mihalicek at gmail.com
Fri Feb 18 14:25:06 EET 2011


Did anyone set up the enviroment in dovecot with post login scripting in
which imapsync does sync between two mailservers on users login (on login
sync mail from old to new mailserver) is there a alternative or different
approach?

something like

#!/bin/bash
/usr/bin/imapsync --syncinternaldates --nosyncacls --authmech1 PLAIN --host1
old.server.com --user1 $USER*master --password1 master --authmech2 PLAIN
--host2 new.server.com --user2 $USER*master --password2 master
exec /usr/lib/dovecot/imap "$@"

thanx
-- 
View this message in context: http://old.nabble.com/Post-login-scripting-and-imapsync-on-user-login-tp30958180p30958180.html
Sent from the Dovecot mailing list archive at Nabble.com.



More information about the dovecot mailing list