sendmail refuses to use /var/spool/mqueue.in

Glenn Steen glenn.steen at gmail.com
Sat Jun 17 13:31:27 IST 2006


On 17/06/06, Gernot Bauer <Gernot.Bauer at gmx.net> wrote:
> Hi!
>
> I have finally solved this problem. The reason is Novell's AppArmor,
> which has been introduced in SuSE 10.1. AppArmor limits the files and
> directories sendmail can read and write.
>
> To get MailScanner running add the lines
>
>    /var/run/sendmail-out.pid   rwl,
>    /var/spool/mqueue.in        rwl,
>    /var/spool/mqueue.in/*      rwl,
>
> to these files:
> /etc/apparmor/profiles/extras/usr.sbin.sendmail.sendmail
> /etc/apparmor.d/usr.sbin.sendmail
>
> then:
>
> rcapparmor reload
>
> Finally start MailScanner.
>
> Maybe it is a good idea to add this hint on the MailScanner
> Installation Guide page, or even include it in the SuSE MailScanner package.
> I suppose that more people run into this when trying to install
> MailScanner on SuSE 10.1 or higher.
>
> Regards,
> Gernot

Is this dependant on any "security level" type of thing? It is very
reminiscent of the Mandriva msec settings one need fiddle when running
at "elevated security levels".

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list