[Dovecot] Post login scripting and imapsync on user login
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-tp3095... Sent from the Dovecot mailing list archive at Nabble.com.
Am 18.02.2011 13:25, schrieb Tomislav Mihalicek:
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
hm i may fail here, but there might be a lot of imap logins session such heavy process may overload your system
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
participants (2)
-
Robert Schetterer
-
Tomislav Mihalicek