1

Topic: Secure, Encrypt folder /var/mail/

Hello,
I use iredmail 0.9.8 on Debian 9 with Nginx + MYSQL.

Our email are store in the folder "/var/mail/"
But how we can secure the content of this folder?
Can we encrypt, encode..etc?

Thank you again!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Secure, Encrypt folder /var/mail/

You can NOT encrypt it.

Dovecot is the imap/pop3 server and local mail delivery agent, it needs to access /var/vmail/vmail1 (default mailbox location), if you encrypt this directory, Dovecot cannot read mail messages.

Alternative solution is, use Dovecot's crypt plugin to encrypt mail messages:
https://wiki.dovecot.org/Plugins/MailCrypt

3

Re: Secure, Encrypt folder /var/mail/

Thank you ZhangHuangbin!