Local State Dir - /var/lib/spamassassin - SARE rules no hits

Alex Broens ms-list at alexb.ch
Wed Nov 26 17:34:56 GMT 2008


On 11/26/2008 5:20 PM, Glenn Steen wrote:
> That setting would only work if postfix can read and write it... Can
> it? It seems to revert to the default. You could
> mkdir ~postfix/.spamassassin
> chown postfix.postfix ~postfix/.spamassassin
> or something similar (as root), to get past that problem.

perhaps do it the k.i.s.s way to start off with.. and tighten up as you 
go...

Run As User = postfix
Run As Group = postfix


Incoming Work User =   # YES! EMPTY!
Incoming Work Group =  # YES! EMPTY!

Incoming Work Permissions = 0640

Quarantine User = root
Quarantine Group = apache #www_run # whatever_required_for_specific OS
Quarantine Permissions = 0664

##replace "apache" with whatever you need for specific OS

chown -R postfix:postfix /var/spool/MailScanner/incoming
chown -R postfix:apache /var/spool/MailScanner/quarantine
chmod 0775 -R /var/spool/MailScanner/quarantine

does that work for you?
if yes.. slowly tighten up and find the best for your needs..

Ale


More information about the MailScanner mailing list