Re: how to redirect/filter bounce messages?

From: Victor Duchovni (no email)
Date: Thu Aug 05 2004 - 07:22:44 EDT


On Wed, Aug 04, 2004 at 10:38:05PM -0400, Nicolas Riendeau wrote:

> Hi Mr Venema!
>
> Wietse Venema wrote:
> >This text should also have provision for content-type and character
> >set information if that is needed. It should not provide other MIME
> >headers so as not to mess up the DSN message format.
>
> I have one (small?) problem with this...
>
> Everything generated by Postfix (including any $ macros) assume a
> normal (7 bit?) character set.

        Content-Type: text/plain; charset=iso-8089-1
        Content-Transfer-Encoding: quoted-printable

        Testing, =31, =32, =33...

> The ouput of bounce_recipient_log() is in the same "part" as
> bounce_boilerplate()
> which means *I think* that it must be in the same character set? How should
> I
> handle this? Should I put it in another part if character set is specified
> (or
> do I do that always) or is there another trick I could use?

The multipart/report MIME type consists of *exactly* three parts, with the
first a text/plain.

The charset that contains the error message must contain ASCII as an
identity encoded subset. To encode asian character sets, ... you must use
utf-8 rather than gb2332 or shift-jis, ...

-- 
	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:?body=unsubscribe%20postfix-users>







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD