OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: header_if_reject

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Feb 07 2005 - 08:15:19 CST


On Mon, Feb 07, 2005 at 09:08:51AM -0500, Wietse Venema wrote:

> > + vstring_sprintf(hbuf, "X-Reject-Warning: %s", STR(error_text));
>
> At the very least this would need to be sanitized so that it
> satisfies RFC822 header syntax. You're prepending information from
> DNS RBL records, from replies in address verification databases,
> and other content that just can't be copied "as is" into mail
> headers.
>

Does this matter for unstructured headers? Are there issues beyond
keeping the data 7bit? It seems that a suitable call to printable(),
should take care of it...

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>