Hi,

On Wed 05/Dec/2012 19:46:42 +0100 Jérôme Blion wrote:
> Le 05/12/2012 18:28, Alessandro Vesely a écrit :
>> This version implements blocking an authenticated user, which I hope
>> will never trigger.  One can specify a plain file with a list of users
>> that the filter will reject.  The file can be populated by zdkimfilter
>> basing on the result of an sql query, or by any other means.
>>
>> The dkimsign command has been enhanced, so that it can be used in
>> sendmail-terminated pipelines.
>>
>> A few database changes are detailed in the releas-notes.
>>
>> A few bugfixes, including those recently reported on this list.
>>
>> http://www.tana.it/sw/zdkimfilter/
> 
> How do you manage the fact that:
>   - a mail sent has to signed just before being sent (after all other 
> filters which can adds headers) ?

That's the reason for having a 'z' in front of the name.  That trick
doesn't work for dkimsign.  In that case, script writers have to take
care themselves of what they do.

>   - a mail received should be verified before all other filters (for the 
> same reason, the mail should not move at all) ?

One needs MIME=none in esmtpd.  In esmtpd-msa, it can be overridden
with MIME=some, so as to apply some treatment to outgoing messages.

That is not sufficient if there are filters that modify the value of
signed header fields, or the body.  To handle that I'd need to modify
the filter so that it only does one of the two things; for example,
depending on the name that it was invoked with.  Such solution may
also require patching filterctl in order to install the same filter
with different names.  I haven't done it (yet) under the assumption
that substantive incoming message changes will be done on delivery.
Perhaps I'm wrong.


Thank you for your interest
-- 





































------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to