>> The --dbpath option is bad. Despite its name, it is not a "path", but a
>> prefix. The sa-update man page states it is in bayes_path form, which is
>> documented in the general SA Conf documentation.

> "This is the directory and filename for Bayes databases". Since your
> given path looks similar to the default, I assume you actually meant to
> keep that SA data in the .spamassassin/ dir. For that, just drop the
> trailing slash. Also, please re-read carefully that part of the docs.

You are right. But it doesn't matter. If I used my --dbpath like above, two
files bayes_seen and bayes_toks were created below this folder. If I use
--dbpath ..../bayes/test, then I get two files test_seen and test_toks in
that folder. I'll correct this of course, but it works like before and my
problem is still there.



>> --showdots /var/spool/imap/user/kmeyer/[0-9]*." amavis
>                                         ^^^^^^^
>This is dangerous. With lots of mail in the (Maildir?) folder, shell
>expansion *quickly* will exceed the command line length limit.
>
> The trailing dot also looks bad.

This is a good argument. I' ll think about that. The folder is a cyrus Imap
folder. I used the [0-9]*. expression, because each cyrus folder contains
messages with numbered filename with a trailing dot and four cyrus.* files
(cache, index,...).



> A word of caution. There is no move command with IMAP. Instead, it is
> copy and delete. Or rather mark-for-deletion, since there is no delete
> command either. That's expunge.

That's right. But is this a problem?
First, I learn ham from the inbox folder, then spam from the junk folder. If
a mail is moved to the junk folder meanwhile and no expunge was done, then
it's not relearned as ham again and learned from the junk folder as spam
newly.



> Using the Inbox rather than a dedicated ham folder therefore is NOT a
> good idea.

The problem is, that I can't persuade about 120 users to store all their ham
below a defined folder. They want to sort their mails into several folders
they created by their own.


-- 
View this message in context: 
http://old.nabble.com/sa-learn-problems-and-comprehension-question-tp30172306p30178053.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to