Tomislav Mihalicek
2011-Feb-18 12:25 UTC
[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-tp30958180p30958180.html Sent from the Dovecot mailing list archive at Nabble.com.
Robert Schetterer
2011-Feb-18 14:22 UTC
[Dovecot] Post login scripting and imapsync on user login
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 "$@" > > thanxhm 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