Bluehost.com Web Hosting $6.95

Re: Long lines with postmap

This is a discussion on Re: Long lines with postmap within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Sun, 9 May 2004, Wietse Venema wrote: > Additional comment: if the idea is to have postmap fold long ...


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 05-09-2004
Victor.Duchovni@MorganStanley.com
 
Posts: n/a
Default Re: Long lines with postmap

On Sun, 9 May 2004, Wietse Venema wrote:

> Additional comment: if the idea is to have postmap fold long header
> lines, then the code should recognize that something is a header.
>
> It should not fold non-header text, and it probably also should
> not apply header patterns to non-header text.
>
> In fact, one might want to invoke the mime_state() engine let it
> do the hard work.
>
> postmap -M body -q... apply body patterns
> postmap -M primary,mime,nested -q... apply header patterns
>


Yes, the MIME parser approach did occur to me, but it is not clear that
test cases will always be complete messages. Sometimes they will be just
random collections header-valued test verctors. So the two solutions solve
different problems.

With "-M" one might even want to specify separate RE map lists for each of
the header types. Something along the lines of:

$ postmap -Mheader=map[,map...] -Mmime=... -Mnested=... -q - bodymap ...

--
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:majordomo@postfix.org?body=unsubscribe%20p ostfix-users>
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:29 AM.


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