View Single Post
  #3  
Old 19th April 2011, 16:08
luigi luigi is offline
Junior Member
 
Join Date: Apr 2011
Location: France, Annecy
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Rocky !
Thank you for reply so quickly.

in /opt/MailScanner/etc/MailScanner.conf
some example of my configuration of MailScanner.conf
HTML Code:
# **** RULE: It must not contain any spaces! ****
%org-name% =castellanus-com

%org-long-name% = filter.castellanu.com
%web-site% = www.castellanus.com

Run As User = postfix
Run As Group =  www-data

MTA = postfix

Incoming Work User =
Incoming Work Group = clamav

Quarantine User = root
Quarantine Group = www-data

Always Looked Up Last = &BaruwaSQL
Is Definitely Not Spam = &BaruwaWhitelist
Is Definitely Spam = &BaruwaBlacklist
Required SpamAssassin Score = &BaruwaLowScore.
High SpamAssassin Score = &BaruwaHighScore
In my .pm files in /opt/MailScanner/lib/MailScanner/CustomFunctions I have this :
HTML Code:
my ($db_name) = 'baruwa';
my ($db_host) = 'localhost';
my ($db_user) = 'baruwa';
my ($db_pass) = 'password';
And when I trying to connect with the user baruwa on the mysql , all it's ok

So the URL should be http://filter.castellanus.com ?
Because for the baruwa's graphique interface, I have a acess only with @ip (http://192.168.131.251) not by http://filter.castellanus.com

Thxs
Reply With Quote