progmaticltd / homebox

A set of ansible scripts to build a personal mail server / private cloud / etc.
https://homebox.space/
GNU General Public License v3.0
467 stars 52 forks source link

dovecot: script-login access to security limits #270

Closed fredericmoulins closed 4 years ago

fredericmoulins commented 4 years ago

Calls to su in the dovecot-postlogin script called by script login try to access the files in the /etc/security/limits.d/ folder.

Allow access to those files in the apparmor profile for script-login.

arodier commented 4 years ago

This is funny. I was about to sent the same pull requests.