I am running sendmail on ubuntu 14.04 together with OpenEmm. The man page of OpenEmm claims that I have to add some lines to the Apparmor profile if it is active.

Unfortunately there is no sendmail profile available, therefore I tried to install the corresponding profile.

 sudo apt-get install apparmor-profiles

The profile is located here:


My question is, how to install this profile? Is it enough just to move it to /etc/apparmor.d/ ?


Have to tried this after moving it to /etc/apparmor.d/ ? :

aa-enforce /etc/apparmor.d/* #To launch all the profiles
aa-enforce sendmail #if you have created your sendmail profile

I guess that those commands are provided by the apparmor-utils package

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.