Re: Add/change header instead of reject?

From: (no name) (no email)
Date: Thu Feb 26 2004 - 10:49:16 EST


On Thu, 26 Feb 2004, Wietse Venema wrote:

> As documented, the PREPEND action prepends a line to the input line
> that triggered the PREPEND action.
>

I think that for both body and header checks the "cleanup" PREPEND action
should record the extra headers in the "extracted" section of the queue
file, and that the prepending of the headers should happen in delivery
agents. Perhaps the set of headers to prepend is included in the delivery
request, alternatively the delivery agent reads the extracted section
looking for headers to prepend.

Furthermore, the PREPEND content should either be coerced to a valid
non-MIME header:

X-Some-Header: YYY -> X-Some-Header: YYY
foo -> X-Postfix-Prepend: foo
Content-([^:]*): foo -> X-Postfix-Prepend: Content-${1}: foo

or should be ignored with a warning.

-- 
	Viktor.







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD