Hi,

I am trying to secure my wordpress installation using apparmor. The
basic permissions are nothing special, until we get to email delivery.

Wordpress by default always wants to use the php mail() function,
which in turn always wants to use a binary. So I can't fix this by
enabling email delivery via SMTP.

So I ended up adding the following to my profile:

    /bin/bash                        ixr,
    /usr/sbin/sendmail               Uxr,

That strikes me as being a pretty wide net, so I'm curious if there's
something that I can do better.

Thanks,

Robert

-- 
http://robert.muntea.nu/

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to