4 ms·
EDIT: Wanting a minimal implementation, I instead made a script: 1. List email files in S3 2. For each file, download into a local maildir-style directory, th
by boronine 5y ago
EDIT: Wanting a minimal implementation, I instead made a script:
1. List email files in S3
2. For each file, download into a local maildir-style directory, then delete original
3. Use `mutt -f ./maildir` to browse
- thenickdude 5y agoHmm you could probably use the AWS CLI's "aws s3 sync" command for that right? Sounds pretty practical
- boronine 5y agoYou can probably make that work, just have to be careful deleting from S3, make sure to only delete those emails you imported and not accidentally delete an email that arrived during the import process. My personal setup makes heavy use of rclone so I used that instead of awscli: https://gist.github.com/boronine/661fd24ba6671f687ff714969d961b85 https://gist.github.com/boronine/661fd24ba6671f687ff714969d9...