To work around this bug, I put the following in
/etc/default/mailscanner:

[ ! -d /var/run/MailScanner ] && mkdir /var/run/MailScanner && chown 
postfix:postfix /var/run/MailScanner
[ ! -d /var/lock/subsys/MailScanner ] && mkdir -p /var/lock/subsys/MailScanner 
&& chown postfix:postfix /var/lock/subsys/MailScanner

Obviously, you'll need to change the ownership appropriately if you're
running something other than Postfix.

This seemed like the lowest impact way to get my system to work
correctly across reboots and MailScanner updates.  It should also be
transparent once this bug gets fixed.

-- 
init script does not create requirred /var/run/mailscanner directory
https://launchpad.net/bugs/49509

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to