[Dovecot] antispam integration (dovecot antispam plugin): chroot & no way to pass `--user=' to dspam?
Johannes Berg
johannes at sipsolutions.net
Thu Dec 13 19:47:15 EET 2007
> I want have dspam statistics to be per-user, not global. And I like
> idea to learn filter by moving messages from/to SPAM folder, it seems to
> be natural and much better, than Web UI (I don't want to use dspam Web
> UI at all).
>
> Is here any way to resolve two problems:
>
> (1) Run dspam in chrooted environment
> (2) pass `--user=${USER}' parameter to dspam.
No idea. Passing --user is easy, there's an example in the readme file
for the antispam plugin. The former I have no idea about, I guess all it
needs is access to the mysql db.
> Oh, and even more: I think, that it will be useful to have `socket'
> backend for spam-plugin, which allows to send messages to two different
> configured sockets (TCP or UNIX domain) -- one for `learn as spam' and
> other for `learn as ham'. It allows to run in chrooted environment
> easily, and solve problem with exec-dspam-on-every-message.
Dunno. Why are you running it chrooted anyway? If you write such a
backend I can add it to my tree :)
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071213/19bf49be/attachment-0001.bin
More information about the dovecot
mailing list