MailScanner installer and apparmor small omission

Remco Barendse mailscanner at barendse.to
Mon Jun 14 10:20:18 UTC 2021


Found this in the Mailscanner installer script

# add to include for clamd
  if [ -f '/etc/apparmor.d/local/usr.sbin.clamd' ]; then
     echo '/var/spool/MailScanner/incoming/** krw,' >
/etc/apparmor.d/local/usr.sbin.clamd
     echo '/var/spool/MailScanner/incoming/** ix,' >>
/etc/apparmor.d/local/usr.sbin.clamd
   fi

Shouldnt it also uncomment the line to use it though?
>From /etc/apparmor.d/usr.sbin.clamd

   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.sbin.clamd>



More information about the MailScanner mailing list