Archive | Imprint | Privacy
10th October 2008
Nerd 2.0

Webmail and spam

Spam filters are necessary

As it is now necessary for almost any e-mail address a spam filter einzusetzten, many manufacturers of email clients have done so already.

But what is with webmail clients, such as used by me phlyMail ?

Problems with SpamAssassin and Confixx

Now, conveniently in this PHP Webmail client already installed an option to filter spam using external tool. As a default setting is overridden by SpamAssassin

  spamassassin <$ 1> $ 2 

invoked, but this leads received when retrieving mail from a hail of errors because Confixx web server defaults to the $ HOME directory is not writeable. These settings are on easy web hosting in most cases determined by the host, and so not changeable. So, somehow had found another way to forth.

  spamassassin-p / var/www/web247/files/spam/user_prefs <$ 1> $ 2 

This change means that SpamAssassin now using the file user_pref itself can be configured. Naturally this must be the one hosting its global Config have allowed ...

Personal configuration

# SpamAssassin config file for version 3.x

# How many hits before a message is considered spam.
required_score 5.0

# Encapsulate spam in an attachment (0 = no, 1 = yes, 2 = safe)
report_safe 1

# Enable the Bayes system
use_bayes 1

# Enable Bayes auto-learning
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam -0001
bayes_auto_learn_threshold_spam 9.0
bayes_auto_expire 0
bayes_path / var/www/web247/files/spam/bayes
bayes_file_mode 777

# Enable or disable network checks
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 0

# Auto Whitelist
use_auto_whitelist 1
auto_whitelist_path / var/www/web247/files/spam/auto-whitelist
auto_whitelist_file_mode 777

be created in addition to this step is an auto-whitelist file in the specified path. With the "bayes_path" only a prefix is specified, which here is neither a file may still point to a directory.

Many ways to spam

A much easier way would certainly teach SpamAssassin his. Lock files not in the home directory of a user to create, but for that I've unfortunately found no way. After all, does the spam detection to 95% so far, and I can take the individual errors in purchase.

Error List

This will also find this other entry, I once listed my mistake.

bayes: expire_old_tokens: locker: safe_lock: can not create tmp lockfile / var/www/web247/.spamassassin/bayes.lock.xxx.6365 for / var/www/web247/.spamassassin/bayes.lock: No such file or directory

bayes: locker: safe_lock: can not create tmp lockfile / var/www/web247/.spamassassin/bayes.lock.xxx.6365 for / var/www/web247/.spamassassin/bayes.lock: No such file or directory

bayes: expire_old_tokens: locker: safe_lock: can not create tmp lockfile / var/www/web247/.spamassassin/bayes.lock.xxx.6365 for / var/www/web247/.spamassassin/bayes.lock: No such file or directory

bayes: locker: safe_lock: can not create tmp lockfile / var/www/web247/.spamassassin/bayes.lock.xxx.6365 for / var/www/web247/.spamassassin/bayes.lock: No such file or directory

auto-whitelist: open of auto-whitelist file Failed: locker: safe_lock: can not create tmp lockfile / var/www/web247/.spamassassin/auto-whitelist.lock.xxx.32121 for / var/www/web247/.spamassassin / auto-whitelist.lock: No such file or directory

pyzor: check failed: internal error

Can not write to / var/www/web247/.spamassassin/user_prefs: No such file or directory
Failed to create default user preference file / var/www/web247/.spamassassin/user_prefs

Many thanks to Hans and many other sites!

Related posts:
Spam, now estethisch?
Reputable providers on spamming?
Spam fighting? Forget it!
Logfile kills the hard drive
Sad record ....

Comment on