Dear Postfix folks,

Apple Mail violates the standard [1], resulting in attachments only being shown in the HTML view.

This behaviour is to be expected given the incorrect MIME structure
of the message. It is:

multipart/alternative
  text/plain
  multipart/mixed
    text/html
    attachment

So when selecting the plain part, you don't see the attachment
associated with the alternative part.

The message structure should be:

multipart/mixed
  multipart/alternative
    text/plain
    text/html
  attachment

If we wanted to detect such messages, and add a notification or extract the attachment, what component would be the right part for such message alteration? A milter?

(I am aware, that this will break with end-to-end encryption (GPG or S/MIME).)


Kind regards,

Paul


[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1362539#c3
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to