Hi all!
I want to develop a telegram bot that will report and send new emails to the messenger (and also do some additional work on processing these emails). I determined that incoming correspondence is located at the following addresses:
INBOX: /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/data/example.com/info/Maildir/cur_
SPAM: /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/data/example.com/info/Maildir/.Junk/cur_


….but unfortunately, these file contents are encrypted…

The question is, what algorithm can be used to decrypt my email-files and where to look for the keys.

Thanks for any answer!

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

I’d really strongly advise not to mess around with internal files and mechanisms from dovecot. I can imagine if the files are locked due to external access and dovecot trying to access it the same time, you’ll regret it.

Use the IMAP protocol to access mailboxes, just like nearly every client on earth does. You can even use IMAP IDLE for keep-alive and push-mechanism to react when new email arrives in real-time. You can thank me later.

No one is typing