18 Feb
2011
18 Feb
'11
4:22 p.m.
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