[RCD] Roundcube and AppArmor on Debian

André Rodier andre at rodier.me
Tue Mar 13 08:07:41 CET 2018

Hello everyone,

I successfully managed to have Roundcube working with nginx and a proper
AppArmor profile.

Now, I don't think PHP is included yet into the AppArmor profile, this
might be tricker. Anyone has done this successfully before, or should I
start from scratch?

Thanks for your links and your opinions. I am using php-fpm.

Finally, for those who are interested in yet another self-hosting
configuration, I have started this project on GitHub:


The main difference between existing projects are:

- Stay inside a distribution packages, or use proper repositories
providing stable security updates.
- Trying to automate things as much as possible, in a secure manner
(e.g. building and publishing DNS, DKIM, SPF, DMARC records automatically)

Thanks for your thoughts.

Kind regards,

More information about the dev mailing list