[Dovecot] dspam plugin updated
Hi,
Since debian just updated to beta 2, I updated the dspam plugin for that. Also, I added ignoring a Trash folder, Taivo please test if it works for you (but you will need to patch again for dspam daemon mode!)
As always: http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration
johannes
On 2006-02-17 16:35:04 +0100, Johannes Berg wrote:
Since debian just updated to beta 2, I updated the dspam plugin for that. Also, I added ignoring a Trash folder, Taivo please test if it works for you (but you will need to patch again for dspam daemon mode!)
As always: http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration
will you work on using the dspam api instead of exec() at some point? i think that would safe you some more cycles.
my base idea was one lmtp connection per imap process to the dspam daemon. or via unix domain socket.
with kind regards
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On Fri, 2006-02-17 at 17:23 +0100, Marcus Rueckert wrote:
will you work on using the dspam api instead of exec() at some point? i think that would safe you some more cycles.
don't currently plan to.
my base idea was one lmtp connection per imap process to the dspam daemon. or via unix domain socket.
I don't even know how the api works (but the connection really should be opened lazily in any case!)
johannes
On 2006-02-17 17:33:35 +0100, Johannes Berg wrote:
On Fri, 2006-02-17 at 17:23 +0100, Marcus Rueckert wrote:
will you work on using the dspam api instead of exec() at some point? i think that would safe you some more cycles.
don't currently plan to.
i will dig on my laptop for my first hacking tries and send them to you.:)
my base idea was one lmtp connection per imap process to the dspam daemon. or via unix domain socket.
I don't even know how the api works (but the connection really should be opened lazily in any case!)
agreed. but you can achieve that by storing the file handle for the connection into the connection structure from dovecot. :) (if there is such thing.)
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On Fri, 2006-02-17 at 17:40 +0100, Marcus Rueckert wrote:
i will dig on my laptop for my first hacking tries and send them to you.:)
:)
agreed. but you can achieve that by storing the file handle for the connection into the connection structure from dovecot. :) (if there is such thing.)
don't think so, but since dovecot spawns a new imap process for each connection it can just be a global variable in the plugin :)
johannes
On Fri, 2006-02-17 at 17:23 +0100, Marcus Rueckert wrote:
my base idea was one lmtp connection per imap process to the dspam daemon. or via unix domain socket.
I investigated this a bit and recommend to not do it. The dspam daemon seems to be pretty fragile at the moment, I had it eat my mail because the backend transport wasn't working and it didn't report an error to the front delivery via LMTP, etc.
That said, the protocol is really simple, all you need to do is authenticate in some weird way (using the MAIL FROM command) and then give it a special RCPT TO extension that contains the dspam commandline to execute.
johannes
participants (2)
-
Johannes Berg
-
Marcus Rueckert