[Mimedefang] tmpfs on Linux

Aleksandar Milivojevic amilivojevic at pbl.ca
Fri Nov 12 10:03:45 EST 2004


Greg Miller wrote:
> Currently not using bayesian or whitelist. This is a dedicated sendmail
> box.

You can use bayesian and/or whitelist on dedicated sendmail box (no 
local users).  There are two solutions.  More complicated is to keep 
them in SQL database.  That way you can have them on per-user basis. 
Simpler is to have them global for all users.

For later (simpler) global solution, just add these lines to 
sa-mimedefang.cf:

# Enable AWL
use_auto_whitelist       1
auto_whitelist_path      /var/spool/MIMEDefang/awl
auto_whitelist_file_mode 0640

# Enable Bayes
use_bayes            1
use_bayes_rules      1
bayes_path           /var/spool/MIMEDefang/bayes
bayes_file_mode      0640
bayes_auto_learn     1

You'll probably need DB_File Perl module installed.

-- 
Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7



More information about the MIMEDefang mailing list