Mark Crispin wrote:
On Wed, 20 Oct 2004, Ralf Utermann wrote:

we currently test a mail system doing spam detection before
delivery. Spam, which has been detected, as well as training
mailboxes for good and spam, should be located in a separate
directory (per user) on the server, not in the users home directory (because
the spam training program has no access to the Homes).


Could this be implemented with a separate namespace? Any hints
about how to do this?


I don't think that there's much point in having a separate namespace as opposed to just creating a mailbox (or a directory of mailboxes) named "spam" or "junk" to deposit the spam.

Some clients handle namespaces poorly, so a simple mailbox or directory is probably a better place for the spam...
Mark, thanks for the quick response.
I would also prefer the simple way -- my problem is that the users' homes
live in a filesystem with ticket based access (DCE/DFS) where the spam
tool has no access. Currently I handle this by running a patched imapd
on a separate port, and this one uses a standard Unix filesystem to
store the mailboxes.
However there are several minor problems with this solution:
- from our webmail gateway, which is just out-of-the box squirrelmail, one
can not have concurrent access to two accounts, so I cannot train the
spam database from this client.
- even in a normal imap client it would be easier to handle everything
within one account
- needed quite some patches to make imapd listen on a separate ssl port,
run with a different name than "imaps", change mymailboxdir() and SUBSCRIPTIONFILE


You say, namespaces are not a good solution. Would it possible to
hardcode a special name for a directory into imapd, so that everything
starting with 'spamctl' would not map to file in the standard home, but
a different directory on a local filesystem?

Thanks, Ralf

--
        Ralf Utermann
_____________________________________________________________________
        Universit�t Augsburg, Institut f�r Physik   --   EDV-Betreuer
        Universit�tsstr.1
        D-86135 Augsburg                     Phone:  +49-821-598-3231
        SMTP: [EMAIL PROTECTED]         Fax: -3411

Reply via email to