repositorypackage
0.0.0-20240815152921-4c91e302505e
Repository: https://github.com/delthas/imap-forward.git
Documentation: pkg.go.dev
# README
imap-forward
A simple tool that copies/moves messages from one IMAP mailbox (folder) to another.
It supports copying the messages as a one-time operation, or as a daemon (using IDLE for low-latency syncing).
Usage
To copy messages from inbox [email protected]
to [email protected]
once:
imap-forward -upstream-url example.com:993 -upstream-username [email protected] -upstream-password himom -downstream-url other.example.com:993 -downstream-username [email protected] -downstream-password hidad
To continuously move/forward messages from inbox [email protected]
to [email protected]
:
imap-forward -upstream-url example.com:993 -upstream-username [email protected] -upstream-password himom -downstream-url other.example.com:993 -downstream-username [email protected] -downstream-password hidad -move -sync
Acknowledgements
This is just 200 LoC over go-imap ;)
License
MIT