postfix + mailscanner permission problem in active queue

Glenn Steen glenn.steen at
Fri Sep 29 08:49:50 IST 2006

On 29/09/06, Glenn Steen <glenn.steen at> wrote:
> It is exactly what it says on the tin... Did you really set
> "SpamAssassin User State Dir" to a directory you can write to (without
> spelling errors, and without spurious <CR> characters at the end
> (assuming you use windoze to edit your MailScanner.conf:-))? Probably
> not. Or else, the postfix user really can't write to the user state
> dir... Perhaps it lacks permission to even _reach_ that directory?
> Check that by doing
> su - prostfix -s /bin/bash
> $ cd /var/spool/MailScanner/spamassassin (or wherever you put it)
> ...
> $ ls -l /var/spool/ (will likely reveal that postfix cannot access the
> MailScanner directory;)
> ...
If that last bit is true, just chmod a+rx /var/spool/MailScanner
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list