You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chris Haumesser <ch...@awry.ws> on 2007/07/18 00:15:25 UTC
mod_mbox attachment handling
Hi,
I'm trying to help a client improve its list archives. They've been using
mailman with pipermail for many years, and pipermail is problematic in many
ways.
We like the look and feel of mod_mbox, and would like to deploy it. However,
it doesn't seem to handle common attachments correctly (as of svn rev
556672).
Here's an example from an apache list (check the jpeg attachment):
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/%3C460FD722.7050303@wso2.com%3E
In my testing, I've had similar results with jpg, png, gif, and pdf files.
mod_mbox seems to recognize the mime parts/types, but doesn't actually serve
up the attachment properly. Text/plain and text/html seem to be ok.
The only relevant info I've found in Googling is the following from a couple
of summers ago - http://blog.bulix.org/index.php/blog/494:
---
mod_mbox has now a brand new and complete MIME parser. The attachment
downloading is still to be implemented, but it's really no big deal
considering the data structures generated by the mbox_mime_decode_multipart()
function.
---
Is the above still an accurate statement of attachment handling status in
mod_mbox? If so, does anyone know what it would take to add this
functionality? Anyone interested in helping us for a modest bounty?
If adding the needed attachment handling is impractical, does anyone have
alternative list archival solutions (aside from the usual suspects -
pipermail, mhonarc, lurker).
Thanks,
-C-
Re: mod_mbox attachment handling
Posted by Paul Querna <ch...@force-elite.com>.
Chris Haumesser wrote:
....
> ---
> mod_mbox has now a brand new and complete MIME parser. The attachment
> downloading is still to be implemented, but it's really no big deal
> considering the data structures generated by the mbox_mime_decode_multipart()
> function.
> ---
>
> Is the above still an accurate statement of attachment handling status in
> mod_mbox? If so, does anyone know what it would take to add this
> functionality? Anyone interested in helping us for a modest bounty?
>From a quick look, it looks like the base64 mime-part decoder isn't
working right.
Things that aren't in base64 (like text attachments) work fine, but only
things in Base64/Binaries are broken.
-Paul
Re: mod_mbox attachment handling
Posted by Chris Haumesser <ch...@awry.ws>.
> This should be fixed in r560612.
>
> The change has been deployed to mail-archives.apache.org; so the JPEG image
> in
>
> http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/raw/%3C46
>0FD722.7050303@wso2.com%3E/2
Awesome -- Thanks!!
Re: mod_mbox attachment handling
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 7/17/07, Chris Haumesser <ch...@awry.ws> wrote:
> > Is the above still an accurate statement of attachment handling status in
> > mod_mbox? If so, does anyone know what it would take to add this
> > functionality? Anyone interested in helping us for a modest bounty?
This should be fixed in r560612.
The change has been deployed to mail-archives.apache.org; so the JPEG image in
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/raw/%3C460FD722.7050303@wso2.com%3E/2
now appears correctly.
Enjoy! -- justin
Re: mod_mbox attachment handling
Posted by Chris Haumesser <ch...@awry.ws>.
Just in case your mailer mangles my sample URL, see: http://tinyurl.com/392g7l
On Tuesday 17 July 2007 15:15:25 Chris Haumesser wrote:
> Hi,
>
> I'm trying to help a client improve its list archives. They've been using
> mailman with pipermail for many years, and pipermail is problematic in many
> ways.
>
> We like the look and feel of mod_mbox, and would like to deploy it.
> However, it doesn't seem to handle common attachments correctly (as of svn
> rev 556672).
>
> Here's an example from an apache list (check the jpeg attachment):
>
> http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/%3C460FD7
>22.7050303@wso2.com%3E
>
> In my testing, I've had similar results with jpg, png, gif, and pdf files.
> mod_mbox seems to recognize the mime parts/types, but doesn't actually
> serve up the attachment properly. Text/plain and text/html seem to be ok.
>
> The only relevant info I've found in Googling is the following from a
> couple of summers ago - http://blog.bulix.org/index.php/blog/494:
>
> ---
> mod_mbox has now a brand new and complete MIME parser. The attachment
> downloading is still to be implemented, but it's really no big deal
> considering the data structures generated by the
> mbox_mime_decode_multipart() function.
> ---
>
> Is the above still an accurate statement of attachment handling status in
> mod_mbox? If so, does anyone know what it would take to add this
> functionality? Anyone interested in helping us for a modest bounty?
>
> If adding the needed attachment handling is impractical, does anyone have
> alternative list archival solutions (aside from the usual suspects -
> pipermail, mhonarc, lurker).
>
>
> Thanks,
>
>
> -C-