Re: BODYSTRUCTURE question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-02-27 at 16:56 +1100, Rob Mueller wrote:
> > As of RFC 2045, Content-Type syntax should be:
> > content := "Content-Type" ":" type "/" subtype *(";" parameter)
> >
> > Shouldn't cyrus still interpret this as text/html, despite the illegal " 
> > boundary..." line following Content-Type ?
> 
> I've noticed this too, and while it clealy is broken with respect to the 
> RFC, it's annoying to deal with. In the meantime, I fix up these headers in 
> our custom perl lmtp proxy system with a regexp like this on Content-Type 
> headers...

Nice!  Is this code available for public consumption?  I'd love to use
something like this to strip out \0s in messages too.  Most of the other
"solutions" for cyrus/postfix that I've seen required an additional
exec() in the delivery pipeline, which I would like to avoid.

Cheers,

Mike
-- 
Mike Cathey - http://www.mikecathey.com/
Network Administrator
RTC Internet - http://www.catt.com/

Attachment: signature.asc
Description: This is a digitally signed message part

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux