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:Gordon Messmer (yiny@eburg.com)
Date:Sep 27, 2007 4:58:56 pm
List:net.sourceforge.lists.courier-users

Matthias Wimmer wrote:

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.

They are. run_filter reads the directory entries, sorts them with qsort(), and then passes them to dofilter().

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.

That's how it's done in pythonfilter and Courier::Filter, too.

Checking if a sender address is a local address is not a solution, as sender addresses can be forged in the general case.

Not if you use the smtp sender info, but pythonfilter can do auto-whitelisting (tracks message sender/recipient pairs, and won't scan replies), authenticated users (based on Received header, currently), relayed hosts and hosts that have BLOCK unset (based on smtpaccess), DNS based whitelists, or hosts with valid SPF records. You get options. :)