Bluehost.com Web Hosting $6.95

Re: Add/change header instead of reject?

This is a discussion on Re: Add/change header instead of reject? within the mailing.postfix.users forums, part of the Mail Servers and Related category; Victor.Duchovni@morganstanley.com: > On Thu, 26 Feb 2004, Wietse Venema wrote: > > > As documented, the PREPEND ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2004
Wietse Venema
 
Posts: n/a
Default Re: Add/change header instead of reject?

Victor.Duchovni@morganstanley.com:
> 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


What says that the result of PREPEND must always be a message header?

Postfix does the following: if PREPEND appears in header context, then
it requires a valid header label and will not prepend non-header text;
if PREPEND appears in body context, then Postfix does not care.

Wietse

> 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.
>
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0