View Single Post
  #7  
Old 11th June 2008, 13:33
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 551
Thanks: 14
Thanked 48 Times in 47 Posts
Default

Kamian,

Sorry for the late response, been quite busy lately.

Make sure you have the following set in /etc/MailScanner/MailScanner.conf:
  • Run As Group = www-data
  • Quarantine User = root
  • Quarantine Group = www-data
  • Quarantine Permissions = 0660
  • Quarantine Whole Message = yes
  • Always Looked Up Last = &MailWatchLogging
  • Quarantine Whole Message As Queue Files = no
  • Detailed Spam Report = yes
  • Include Scores In SpamAssassin Report = yes
  • Is Definitely Not Spam = &SQLWhitelist
  • Is Definitely Spam = &SQLBlacklist
Repeat these steps:

Code:
chown -R postfix:www-data /var/spool/MailScanner
chown -R postfix:www-data /var/lib/MailScanner
chown -R postfix:www-data /var/run/MailScanner
chown -R postfix:www-data /var/lock/subsys/MailScanner
chown -R postfix:www-data /var/spool/postfix/hold
chmod -R ug+rwx /var/spool/postfix/hold
chmod -R ug+rwx /var/spool/MailScanner
Finally restart MailScanner, log into your MailWatch interface and test it.
/etc/init.d/mailscanner restart

Let me know if that worked.

Rocky
__________________
Home of the SpamSnake

Last edited by Rocky; 11th June 2008 at 13:39.
Reply With Quote