Imapsync: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
More usage examples
Line 17: Line 17:
   --host1 mail1.example.org --user1 user1 --password1 "secret1" \
   --host1 mail1.example.org --user1 user1 --password1 "secret1" \
   --host2 mail2.example.org --user2 user1 --password2 "secret1"
   --host2 mail2.example.org --user2 user1 --password2 "secret1"
</syntaxhighlight>
The additional flags <code>--delete1</code> and <code>--search</code> will sync all messages before the specified date and removes them after successfull migration to <code>host2</code>
<syntaxhighlight lang="console">
imapsync \
  [...]
  --delete1 --search "SENTBEFORE 01-Jan-2008"
</syntaxhighlight>
</syntaxhighlight>


[[Category:Applications]]
[[Category:Applications]]
[[Category:Mail]]
[[Category:Mail]]