View Single Post
  #22  
Old 27th June 2008, 17:14
vectorite vectorite is offline
Junior Member
 
Join Date: Jun 2008
Posts: 1
Thanks: 1
Thanked 3 Times in 1 Post
Default Spamsnake Working

Thought I'd use this thread to give some feedback on the Great guide! After a few days, the guide and this thread I have the snake working!

In case others need it here is (so far as I can remember) what I did different from the guide.

1) (p3) On long list of PHP/Apache progs to install had to remove 'php5-json'

2) Instead of commenting out from /etc/rc2.d/S20mailscanner:

Code:
#check_dir /var/spool/MailScanner       ${user:-mail} ${group:-mail}
#check_dir /var/lib/MailScanner         ${user:-mail} ${group:-mail}
#check_dir /var/run/MailScanner         ${user:-mail} ${group:-mail}
#check_dir /var/lock/subsys/MailScanner ${user:-mail} ${group:-mail}
I made it look like this:

Code:
check_dir /var/spool/MailScanner       ${user:-postfix} ${group:-www-data}
#check_dir /var/lib/MailScanner         ${user:-mail} ${group:-mail}
#check_dir /var/run/MailScanner         ${user:-mail} ${group:-mail}
check_dir /var/lock/subsys/MailScanner ${user:-postfix} ${group:-www-data}
3) Then I removed

Code:
mkdir /var/run/MailScanner
mkdir /var/lock/subsys
mkdir /var/lock/subsys/MailScanner
chown -R postfix:www-data /var/run/MailScanner
chown -R postfix:www-data /var/lock/subsys/MailScanner
/etc/init.d/postfix restart
/etc/init.d/mailscanner restart
From /etc/rc.local

4) Changed line in ss_update.sh from;

Code:
clamd_pid=/var/run/clamd/clamd.pid
To:

Code:
clamd_pid=/var/run/clamav/clamd.pic
5) Changed

MailScanner.conf line


Code:
Run As Group = postfix
to

Code:
Run As Group = www-data
I think that was all I did to get it working well at least mostly I still have some postfix/relay/exchange/ issues not covered by the guide I'm working on. I hope this post will save someone some time

Reply With Quote