On 10/16/19 1:30 AM, Tom Corcoran wrote:
> Thanks, Mark.
> 
> Having sent my test email with pdf attached I thought all was fine, but an
> email from a club with pdf was auto discarded this morning :-(
> 
> My pass_mime_types is now:
> 
> multipart
> message/rfc822
> application/pgp-signature
> text/plain
> text/html
> application/pdf


That looks good.


> Looking at the header of the  message discarded I see:
> 
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="===============12345678=="
> 
> Do I need to add
> multipart/mixed
> to pass_mime_types or something?

No. "multipart" includes all sub-types of multipart. With the settings
you have, it is unlikely that content filtering removed all of the
message. What are the Content-Types of all of the subparts?. If you can
post all the Content-Type headers and boundaries, we can be sure. A
simple example of what I mean is:



> Content-Type: multipart/alternative; boundary="_av-SpnTZ0TWNMJ4n1S5X_0G2w"
> ...
> --_av-SpnTZ0TWNMJ4n1S5X_0G2w
> Content-Type: text/plain; charset=utf-8
> ...
> --_av-SpnTZ0TWNMJ4n1S5X_0G2w
> Content-Type: text/html; charset=utf-8
> ...
> --_av-SpnTZ0TWNMJ4n1S5X_0G2w--




-- 
Mark Sapiro <m...@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/archive%40jab.org

Reply via email to