On Sat, Feb 07, 2004 at 08:37:34PM -0500, Lloyd Zusman wrote:

> I just realized that there is a minor flaw in the courierfilter
> implementation of SPF.
> 
> The SPF people suggest that a message which doesn't fail the SPF test
> should have an extra header added.  For their discussion of this, go
> here:  http://spf.pobox.com/newheader.html
> 
> But as far as I know, it's not possible to add a header to an email
> message from within a courierfilter module, since the message that the
> module sees is contained in a temporary file that goes away after the
> filtering.  The "real" message is elsewhere and inaccessible to the
> filter module.

Sam once suggested that your filter could mark the current message as
"done" ie. mark all recipients as delivered, and instead inject a new
message into the queue, with the headers you want added in. This is
still a kind of hack, but saves you from having to create additional
directories, and having to add headers later with maildrop.

-- 
Anand Buddhdev


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to