Giter Site home page Giter Site logo

noapplefile's Introduction

This add-on prevents mails which Thunderbird sent from being rejected by specific mail servers such as Microsoft Exchange Server 2007.

Detailed information

The cause of this problem is described as follows.

  • Some mail clients in Mac OS may attach both the actual file (data fork, e.g., application/pdf) and the meta data of the file (resource fork: application/applefile) in file attaching process for a file.
  • Exchange Server 2007 rejects a mail if the mail contains an attached file whose MIME Type is application/applefile.
  • If an attached file with the MIME Type unknown to Thunderbird is opened, Thunderbird records the relationship of the extension and the MIME Type of the file. Then if a file with the recorded extension is attached, Thunderbird uses the recorded MIME Type in priority to the MIME Type provided by OS.

As a result, Thunderbird may use the false MIME Type (application/applefile) instead of the actual MIME Type (application/pdf) in a mail, making the mail to be rejected by a recipient who uses Exchange Server.

A widely known workaround for the problem is that remove mimeTypes.rdf in a profile folder of Thunderbird. This workaround resets the recorded MIME types and make Thunderbird use the MIME Type provided by OS.

However, if you receive a mail with an attached file whose MIME Type is "application/applefile", Thunderbird records the false MIME Type into the mimeTypes.rdf and the problem recurs.

Add-on details

This add-on ("No application/applefile") checks for the content of mimeTypes.rdf at start-up. If mimeTypes.rdf contains a problematic MIME Type "application/applefile", the add-on remove the MIME Type.

In addition, if the MIME Type of an attached mail is "application/applefile", the add-on guesses the correct MIME Type of the file from the extension of the file name, and make Thunderbird use the guessed MIME Type.

By doing so, this add-on prevents the problem.

noapplefile's People

Contributors

piroor avatar mooz avatar

Stargazers

Cosmin Saveanu avatar Alexander Salas Bastidas avatar

Watchers

 avatar  avatar Masafumi Yokoyama avatar Hiroshi Hatake avatar James Cloos avatar Horimoto Yasuhiro avatar  avatar

noapplefile's Issues

Compatibility to thunderbird 38.x

The extension used to be a huge relieve, as it renders Thunderbird immune to Apple-Mail's attempts to "poison" the mime-type association (by constantly sending in pdf's as "application/applefile"-FUBAR). Thank you very much for your work so far!

Sadly the extension seems to have stopped working with current Thunderbird 38.x.
As soon as users now open up an "applefile"-PDF, Thunderbird seems to note that down (even saves it within mimeTypes.rdf) and begins to send out that mime-type for his own pdf-Attachments (which ironically leads to problems for Apple Mail, when opening attachments that have been sent by a Thunderbird, that "learned" the wrong mime-type from a mail sent by Apple Mail in the first place).

Is there any chance to make this brilliant extension working again with currently supported Thunderbird releases?

Thank you very much for considering,
kind regards,
DC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.