Moves messages around imap accounts, very useful for gmail migration
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
README.md Update readme, provide helper script Sep 6, 2012
imap-move.php initial commit Sep 5, 2012
imap-move.sh Update readme, provide helper script Sep 6, 2012

README.md

IMAP Move

This will move messages from one IMAP system to another

php ./imap-move.php \
    --source imap-ssl://userA:secret-password@imap.example.com:993/ \
    --target imap-ssl://userB:secret-passwrod@imap.example.com:993/sub-folder \
    [ --wipe --fake --copy ]

--fake to just list what would be copied
--wipe to remove messages after they are copied (move)
--copy to store copies of the messages in a path

Shell Wrapper

Included is a shell wrapper to make life a bit easier, see imap-move.sh