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:Matthias Wimmer (m@tthias.eu)
Date:Sep 27, 2007 3:34:05 pm
List:net.sourceforge.lists.courier-users

Hi Gordon!

Gordon Messmer schrieb:

Well, the current version of courier runs filters in alphabetical order, and will stop filtering if given a response code that begins with the digit 0. With that in mind, if you want to whitelist users, you can create a new filter that evaluates the sender's information and uses a '0XX' code when you want to skip processing.

I start wondering, if I am using something other than the people here ;)

Looking at cdfilter.C of version 0.56.0 (this is the latest version, isn't it?) I don't think that filters are executed in in alphabetical order, but in the order of the directory entries in the filter directories.

But that's nothing I do care about. The problem is just, that I cannot find out if a message has been received authenticated without the hack of checking the first Received header. (Bernd Wurst and Sam wrote about the u line in the control file, but I never got such a line there with the latest version 0.56.0 of courier.) Checking if a sender address is a local address is not a solution, as sender addresses can be forged in the general case.

I asked about frameworks because I expected that you'd be using either pythonfilter or Courier::Filter. ;) As far as I know, both will let you process filters in order and provide simple ways to whitelist senders.

Well ... as said, I do not want/need to whitelist senders, but need to ignore filters for messages that are received on port 587 instead of port 25 (because this are the mails received authenticated by customers).

Matthias