29 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Proposed extensio...
FromSent OnAttachments
Matthias WimmerSep 25, 2007 5:17 pm 
Tim LythSep 25, 2007 6:04 pm 
Alessandro VeselySep 26, 2007 12:18 am 
Matthias WimmerSep 26, 2007 3:07 am 
Gordon MessmerSep 26, 2007 1:12 pm 
Matthias WimmerSep 26, 2007 3:54 pm 
Bernd WurstSep 26, 2007 11:06 pm 
Bernd WurstSep 27, 2007 4:37 am 
Matthias WimmerSep 27, 2007 6:12 am 
Bernd WurstSep 27, 2007 8:04 am 
Gordon MessmerSep 27, 2007 2:59 pm 
Sam VarshavchikSep 27, 2007 3:19 pm 
Matthias WimmerSep 27, 2007 3:25 pm 
Matthias WimmerSep 27, 2007 3:34 pm 
Sam VarshavchikSep 27, 2007 4:10 pm 
Gordon MessmerSep 27, 2007 4:32 pm 
Sam VarshavchikSep 27, 2007 4:56 pm 
Gordon MessmerSep 27, 2007 4:58 pm 
Bernd WurstSep 27, 2007 10:05 pm 
Bernd WurstSep 27, 2007 10:07 pm 
Alessandro VeselySep 28, 2007 1:25 am 
Julian MehnleNov 12, 2007 2:52 am 
Sam VarshavchikNov 12, 2007 3:59 am 
Julian MehnleMar 5, 2008 7:03 am 
Gordon MessmerMar 5, 2008 7:59 am 
Bernd WurstMar 5, 2008 8:54 am 
Gordon MessmerMar 5, 2008 9:32 am 
Julian MehnleMar 5, 2008 9:54 am 
Sam VarshavchikMar 5, 2008 4:24 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Proposed extension: SKIPMAILFILTER [patch]Actions...
From:Alessandro Vesely (ves@tana.it)
Date:Sep 28, 2007 1:25:07 am
List:net.sourceforge.lists.courier-users

Sam Varshavchik wrote:

Gordon Messmer writes:

Sam, you've mentioned before that refactoring the code to run filters after rewriting the message would be difficult, but wouldn't you just need to move the "run_filter" block of code later in SubmitFile::MessageEnd? That would give filters access to the COMCTLFILE_MSGSOURCE line and other information written by SubmitFile::closectl, and also potentially allow filters to rewrite message bodies more easily.

I have to think about this. I don't want to make such a drastic change now, but after I cut the next release I'll make a note to make this change, and see if it breaks anything.

Why not both? I.e. _add_ a block of code rather than _move_.

We already have 'filters' and 'allfilters', so we could add more directories for read/write filters. That way, any filter using the new directories will know how it should install and behave.

I'm not sure there is any advantage in keeping readonly filters when we'll have the new ones. If there is, we can live with many modes forever. If not, the old modes can be purged after a few releases, when any consequences are clear.