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

Gernot Bauer Gernot.Bauer at gmx.net
Sat Jun 17 13:09:16 IST 2006


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 



More information about the MailScanner mailing list