Re: [Dovecot] dspam plugin and updating of headers?

2010-02-23 Thread Steve
Original-Nachricht > Datum: Tue, 23 Feb 2010 14:59:43 -0500 > Von: Dan Swartzendruber > An: dovecot@dovecot.org > Betreff: [Dovecot] dspam plugin and updating of headers? > > Forgive me if this is a stupid question. I know that when I drag a > message t

[Dovecot] dspam plugin and updating of headers?

2010-02-23 Thread Dan Swartzendruber
Forgive me if this is a stupid question. I know that when I drag a message to the SPAM folder, it is being trained properly, since the stats indicate so. Dragging back to the inbox retrains it as ham. I happened to notice that despite the fact that dspam says this in the debug log: "appe

Re: [Dovecot] dspam plugin

2007-09-30 Thread Johannes Berg
On Mon, 2007-06-11 at 18:06 +0200, Goran Mekić wrote: > When I drag n drop spam mail to SPAM folder, I get this error: > Jun 11 17:58:46 sparrow dspam[28452]: Unable to open file for > reading: > /var/spool/dspam/data/local/mymail/mymail.sig/466d652f315451306914567.sig: > No such file or dir

Re: [Dovecot] dovecot-dspam plugin & virtual users

2007-09-30 Thread Johannes Berg
On Wed, 2007-07-11 at 20:14 +0200, Wicher Minnaard wrote: > For my needs, '[EMAIL PROTECTED]' could be taken as the login > name I use for logging in to Dovecot. As I'm not a C-programmer by a > long shot, I was wondering if one of you could help me use the > bincimap-API to import the login name

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-30 Thread Johannes Berg
On Thu, 2007-09-20 at 16:45 +0300, Timo Sirainen wrote: > > that leads to the question how big those changes are and if it would be > > feasible to #if on some DOVECOT_VERSION define to avoid forking the > > plugin for 1.1. > > Hmm. Looks like there aren't any easy to #if macros available. But I'

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-20 Thread Timo Sirainen
On Thu, 2007-09-20 at 13:48 +0200, Marcus Rueckert wrote: > > Feel free to send patches to get it working with 1.1 :) > > that leads to the question how big those changes are and if it would be > feasible to #if on some DOVECOT_VERSION define to avoid forking the > plugin for 1.1. Hmm. Looks like

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-20 Thread Marcus Rueckert
On 2007-09-20 13:42:03 +0200, Andreas Schneider wrote: > Trever L. Adams wrote: > > > > Hello, Andreas, > > > > I have not had a chance to look at your plugin. I am wondering if you > > have updated the plugin for the API changes in 1.1 alpha series > > (particularly alpha6). If so, I am at a poi

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-20 Thread Andreas Schneider
Trever L. Adams wrote: > > Hello, Andreas, > > I have not had a chance to look at your plugin. I am wondering if you > have updated the plugin for the API changes in 1.1 alpha series > (particularly alpha6). If so, I am at a point I can test the plugin out > and possibly contribute code. Hi Trev

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-20 Thread Trever L. Adams
Hi, the git address has changed. git clone git://git.cynapses.org/gladiac/dovecot-dspam-plugin.git -- andreas Hello, Andreas, I have not had a chance to look at your plugin. I am wondering if you have updated the plugin for the API changes in 1.1 alpha series (particularly al

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-15 Thread Andreas Schneider
Andreas Schneider wrote: > > Ok, I've added now support to set the spam folder and > the trash folder in the dovecot configuration file. > > git clone git://git.cynapses.org/dovecot-dspam-plugin.git \ > dovecot-dpsam-plugin > Hi, the git address has changed. git clone git://git.cynapses.org/g

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-10 Thread Angel Marin
Marcin Michal Jessa escribió: > Andreas Schneider wrote: >> Andraž 'ruskie' Levstik wrote: >> >>> Would it be possible to specify multiple spam folders? >>> >>> i.e. spam, Spam, SPAM, junk, Junk, etc... ? >>> >>> That would be very usefull... >>> >> Yes, this would be possible, but first th

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 15:19 +0200, "Andraž 'ruskie' Levstik" wrote: > Hence why the plugin would allow a list of names... and they would all > work... Either by having aliases to the other folders or simply doing > if something happens with folder $one_of_folders do this... No, you didn't get the

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread WJCarpenter
It's none of my business, but here's a suggestion for more work for somebody. :-) The idea behind the dspam plugin -- watching things move from folder to folder -- seems very, very clever to me. I wonder if it might have wider applicability, even if we can't see what it is today? Taking account

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Andraž 'ruskie' Levstik
On 14:33:07 2007-09-07 Marcin Michal Jessa <[EMAIL PROTECTED]> wrote: > Andraž 'ruskie' Levstik wrote: > > On 13:56:24 2007-09-07 Marcin Michal Jessa <[EMAIL PROTECTED]> wrote: > > > >> Andreas Schneider wrote: > >> > >>> Andraž 'ruskie' Levstik wrote: > >>> > >>> > Woul

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Marcin Michal Jessa
Andraž 'ruskie' Levstik wrote: > On 13:56:24 2007-09-07 Marcin Michal Jessa <[EMAIL PROTECTED]> wrote: > >> Andreas Schneider wrote: >> >>> Andraž 'ruskie' Levstik wrote: >>> >>> Would it be possible to specify multiple spam folders? i.e. spam, Spam, SPAM, junk, Ju

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Andraž 'ruskie' Levstik
On 13:56:24 2007-09-07 Marcin Michal Jessa <[EMAIL PROTECTED]> wrote: > Andreas Schneider wrote: > > Andraž 'ruskie' Levstik wrote: > > > >> Would it be possible to specify multiple spam folders? > >> > >> i.e. spam, Spam, SPAM, junk, Junk, etc... ? > >> > >> That would be very usefull... > >>

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Marcin Michal Jessa
Andreas Schneider wrote: > Andraž 'ruskie' Levstik wrote: > >> Would it be possible to specify multiple spam folders? >> >> i.e. spam, Spam, SPAM, junk, Junk, etc... ? >> >> That would be very usefull... >> > > Yes, this would be possible, but first the current code should be tested ;) > >

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Andraž 'ruskie' Levstik
On 13:10:54 2007-09-07 Andreas Schneider <[EMAIL PROTECTED]> wrote: > Andraž 'ruskie' Levstik wrote: > > Would it be possible to specify multiple spam folders? > > > > i.e. spam, Spam, SPAM, junk, Junk, etc... ? > > > > That would be very usefull... > > Yes, this would be possible, but first t

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-07 Thread Andreas Schneider
Andraž 'ruskie' Levstik wrote: > Would it be possible to specify multiple spam folders? > > i.e. spam, Spam, SPAM, junk, Junk, etc... ? > > That would be very usefull... Yes, this would be possible, but first the current code should be tested ;) Thanks for the suggestion. -- andreas -

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-06 Thread Andraž 'ruskie' Levstik
On 00:34:23 2007-09-07 Andreas Schneider <[EMAIL PROTECTED]> wrote: > > We want to use signatures if it is present, if not, then we can use > > the raw message. I would suggest the code do an if on the present of > > the signature. I haven't yet looked a the code. Maybe tomorrow. (I am > > a bit be

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-09-06 Thread Andreas Schneider
> We want to use signatures if it is present, if not, then we can use the > raw message. I would suggest the code do an if on the present of the > signature. I haven't yet looked a the code. Maybe tomorrow. (I am a bit > behind on my schedule.) Ok, I've added now support to set the spam folder and

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-31 Thread Johannes Berg
On Fri, 2007-08-31 at 00:57 -0600, Trever L. Adams wrote: > This is correct, the signature is attached, so to say, to a already > tokenized version of the message. This is a large part of the overhead > of dspam. Also, to do a retrain, you need a pristine message. So if a > signature has been a

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-30 Thread Trever L. Adams
Johannes Berg wrote: Note that passing dspam the signature is likely more efficient. There are two possibilities: (1) dspam extracts the signature -> dovecot is more efficient at extracting headers because of cache (2) dspam uses the mail -> it has to re-tokenize etc which afaik it do

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-30 Thread Johannes Berg
On Thu, 2007-08-30 at 15:09 +0200, Andreas Schneider wrote: > with libdspam you can pass simply the whole message. > > -- snip -- > /* Call DSPAM */ > if (dspam_process(ctx, message) != 0) { > syslog(LOG_ERR, "dspam_process failed"); > return -1; > } > -- snip -- Note that passing dspam the

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-30 Thread Andreas Schneider
Trever L. Adams wrote: > Andreas, Hi Trever, > > Please, do not take this poorly. I am simply asking questions to make > sure this patch/plugin is a good idea in the form you suggest. > > I am a user of the other patch. I am wondering if this is worth it. Your > patch, if it links against libds

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-29 Thread Trever L. Adams
ng it work some how with dovecots autoconf/automake system? Depending on your answers, I will try your patch and help you clean it up. Trever Adams Andreas Schneider wrote: Hi, I've found the dovecot dspam plugin and looked at the code. I forks and calls the dspam binary for every mail. I d

[Dovecot] dovecot dspam plugin using libdspam

2007-08-28 Thread Andreas Schneider
Hi, I've found the dovecot dspam plugin and looked at the code. I forks and calls the dspam binary for every mail. I didn't like this behavior, so I've migrated it to use libdspam. The plugin still needs more love: * Use cmake instead of a Makefile * Make the spam folder conf

[Dovecot] dspam plugin

2007-07-25 Thread Oliver Kohll
Hello, I'm trying to install the dspam plugin to dovecot. So far, I've Installed dovecot 1.0.2 from RPM and set up Installed dspam 3.8.0, set up and integrated with postfix, using dspam as local delivery agent before dovecot's deliver Downloaded the dovecot 1.0.2 source in order to compile

Re: [Dovecot] dovecot-dspam plugin & virtual users

2007-07-12 Thread Johannes Berg
Hi Wicher, [now I know who it was on jabber. heh] > I'm trying to use the dovecot-dspam plugin ( > http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration ) > with vpopmail's virtual users. > All seems well, except for the fact that dspam should be called

[Dovecot] dovecot-dspam plugin & virtual users

2007-07-11 Thread Wicher Minnaard
Hi list, hi Johannes, I'm trying to use the dovecot-dspam plugin ( http://johannes.sipsolutions.net/Projects/dovecot-dspam-integration ) with vpopmail's virtual users. All seems well, except for the fact that dspam should be called with '--user [EMAIL PROTECTED]' at

[Dovecot] dspam plugin

2007-06-11 Thread Goran Mekić
When I drag n drop spam mail to SPAM folder, I get this error: Jun 11 17:58:46 sparrow dspam[28452]: Unable to open file for reading: /var/spool/dspam/data/local/mymail/mymail.sig/466d652f315451306914567.sig: No such file or directory mymail is user that runs dovecot transport (postfix co