spamassassin fuer vpopmail accounts einrichten

spamd hat vpopmail support

alternativ:

sa-learn --siteconfigpath /var/vpopmail/domains/lastlog.de/js/.spamassassin/ \
 -p /var/vpopmail/domains/lastlog.de/js/.spamassassin/user_prefs \
 -C /var/vpopmail/domains/lastlog.de/js/.spamassassin/ --spam --dir .maildir/.Spam/cur/

Will write the bayes.lock, bayes_seen and bayes_toks to the directory given by -C using the config file given by -p (so user_prefs).

root@bude:/var/vpopmail/domains/lastlog.de/js# ls -la .spamassassin/
total 1084
drwx------  2 vpopmail vpopmail    4096 Nov  8 19:37 .
drwx------  4 vpopmail vpopmail    4096 Nov  8 19:44 ..
-rw-------  1 vpopmail vpopmail   12288 Sep 14 11:02 auto-whitelist
-rw-------  1 root     root          28 Nov  8 19:45 bayes.lock
-rw-------  1 root     root       12288 Nov  8 19:35 bayes_seen
-rw-------  1 root     root     1327104 Nov  8 19:45 bayes_toks
-rw-------  1 vpopmail vpopmail     935 Nov  8 14:19 init.pre
-rw-------  1 vpopmail vpopmail     351 Nov  8 15:06 local.cf
-rw-------  1 vpopmail vpopmail    1305 Nov  8 19:25 user_prefs
Powered by MediaWiki