[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-users
Subject:    Re: [Mailman-Users] Attachments sent with Apple Mail being stripped
From:       Mark Sapiro <mark () msapiro ! net>
Date:       2015-08-16 14:18:22
Message-ID: 55D09BAE.8090808 () msapiro ! net
[Download RAW message or body]

On 08/15/2015 05:57 PM, Nick Tonkin wrote:
> Hi all, I'm having a problem with mailman stripping attachments from
> messages sent with Apple Mail. It looks like the content-type is
> multipart/related, but I have added that to my list of allowed
> content-types and the jpeg still gets removed. Any ideas please?


I recommend that instead of putting 'multipart/this' and
'multipart/that' in pass_mime_types, that you put just 'multipart' to
allow all multipart parts and also put those elemental types you want.

Do you have collapse_alternatives = Yes? If so, and the images are in an
alternative part, that would explain it. E.g., if the message structure is

multipart/alternative
    text/plain
    multipart/related
        text/html
        image/jpeg

the multipart/alternative part will be replaced by the first alternative
leaving only that text/plain part.

Also, Apple Mail tends to create messages that don't render well with
some non-Apple MUAs. You might try setting filter_content = No to see if
the problem is content filtering or the viewing MUA.

If that doesn't explain your issue, post all your content filtering
settings and a raw example message. You can strip the body parts from
the message, but we'd want to see at least all the Content-Type headers
and boundaries.

-- 
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-users/mailman-users%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic