View Single Post
  #10  
Old 11th June 2008, 17:13
Kamian Kamian is offline
Junior Member
 
Join Date: Jun 2008
Location: Perth, Western Australia
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

From my /etc/MailScanner/MailScanner.conf file

Is Definitely Not Spam = $SQLWhitelist
Is Definitely Spam = $SQLBlacklist

And now I see the problem. $ and not a &.

Thankyou for your patience

Ok, I added that line and its not liking it.

Jun 11 23:06:35 mcp-spam1 MailScanner: MailScanner setting GID to www-data (33)
Jun 11 23:06:35 mcp-spam1 MailScanner: MailScanner setting UID to postfix (109)
Jun 11 23:06:36 mcp-spam1 MailScanner[5744]: MailScanner E-Mail Virus Scanner version 4.68.8 starting...
Jun 11 23:06:36 mcp-spam1 MailScanner[5744]: Syntax error(s) in configuration file:
Jun 11 23:06:37 mcp-spam1 MailScanner[5744]: Unrecognised keyword "quarantinewholemessageasqueuefiles" at line 273
Jun 11 23:06:37 mcp-spam1 MailScanner[5744]: Warning: syntax errors in /etc/MailScanner/MailScanner.conf.
Jun 11 23:06:37 mcp-spam1 MailScanner[5744]: Read 817 hostnames from the phishing whitelist
Jun 11 23:06:38 mcp-spam1 MailScanner[5744]: Read 5141 hostnames from the phishing blacklist
Jun 11 23:06:38 mcp-spam1 MailScanner[5744]: Config: calling custom init function SQLBlacklist
Jun 11 23:06:38 mcp-spam1 MailScanner[5744]: Starting up SQL Blacklist
Jun 11 23:06:38 mcp-spam1 MailScanner[5744]: Read 0 blacklist entries
Jun 11 23:06:39 mcp-spam1 MailScanner[5744]: Config: calling custom init function MailWatchLogging
Jun 11 23:06:39 mcp-spam1 MailScanner[5744]: Started SQL Logging child
Jun 11 23:06:39 mcp-spam1 MailScanner[5744]: Config: calling custom init function SQLWhitelist
Jun 11 23:06:39 mcp-spam1 MailScanner[5744]: Starting up SQL Whitelist
Jun 11 23:06:40 mcp-spam1 MailScanner[5744]: Read 0 whitelist entries
Jun 11 23:06:40 mcp-spam1 MailScanner[5744]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp
Jun 11 23:06:40 mcp-spam1 MailScanner[5744]: Using SpamAssassin results cache
Jun 11 23:06:41 mcp-spam1 MailScanner[5744]: Connected to SpamAssassin cache database
Jun 11 23:06:41 mcp-spam1 MailScanner[5744]: Expired 2 records from the SpamAssassin cache
Jun 11 23:06:41 mcp-spam1 MailScanner[5744]: Enabling SpamAssassin auto-whitelist functionality...
Jun 11 23:06:53 mcp-spam1 MailScanner[5744]: ClamAV scanner using unrar command /usr/bin/unrar
Jun 11 23:06:53 mcp-spam1 MailScanner[5744]: Using locktype = flock
root@mcp-spam1:~#

I simply cut and paste that line into the conf file under the other Quarantine section.


# Quarantine Setting added for SpamSnake / MailWatcher
Quarantine Whole Message As Queue Files = no

#

I'm running mailscanner_4.68.8-1_all.deb from memory I just cut and paste the link in the tutorial, but I could be wrong, I can't say 100%.
Reply With Quote