Imapsync: Difference between revisions

From NixOS Wiki
imported>Onny
Add initial page
 
imported>Onny
Add usage example
Line 8: Line 8:
environment.systemPackages = [ pkgs.imapsync ];
environment.systemPackages = [ pkgs.imapsync ];
</nowiki>}}
</nowiki>}}
== Usage ==
Following example transfers all mails from server <code>mail1.example.org</code> to <code>mail2.example.org</code> via IMAP protocol using supplied credentials
<syntaxhighlight lang="console">
# imapsync \
  --host1 mail1.example.org --user1 user1 --password1 "secret1" \
  --host2 mail2.example.org --user2 user1 --password2 "secret1"
</syntaxhighlight>


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

Revision as of 07:47, 6 July 2023

Imapsync is a versatile email migration tool that allows users to easily transfer emails between different IMAP email servers. It supports various features such as incremental sync, folder hierarchy preservation, and SSL encryption, making it a reliable choice for seamless email migration.

Installation

To install Imapsync system wide add the following line to your system configuration

/etc/nixos/configuration.nix
environment.systemPackages = [ pkgs.imapsync ];

Usage

Following example transfers all mails from server mail1.example.org to mail2.example.org via IMAP protocol using supplied credentials

# imapsync \
  --host1 mail1.example.org --user1 user1 --password1 "secret1" \
  --host2 mail2.example.org --user2 user1 --password2 "secret1"