Imapsync: Difference between revisions
imported>Onny Add useful cmd parameter to example |
Update to use imaps by default |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
imapsync \ | imapsync \ | ||
--host1 mail1.example.org --user1 user1 --password1 "secret1" \ | --host1 mail1.example.org --port1 993 --user1 user1 --password1 "secret1" \ | ||
--host2 mail2.example.org --user2 user1 --password2 "secret1" \ | --host2 mail2.example.org --port2 993 --user2 user1 --password2 "secret1" \ | ||
--addheader | --addheader | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 28: | Line 28: | ||
imapsync \ | imapsync \ | ||
[...] | [...] | ||
--delete1 --search "SENTBEFORE 01-Jan-2008" | --delete1 --delete1emptyfolders \ | ||
--search "SENTBEFORE 01-Jan-2008" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category: | [[Category:Mail Server]] | ||
[[Category: | [[Category:Server]] | ||