I get an error when uploading .xlms, xlsm, .docm or .msg to Documents even after adding these types to whitelist.
Some file types are macro enabled and make use of the .jar type.
If the .jar type is in your black list it will stop the file from uploading even if it is in your white list.
When asking for these files to be added, also ask for .jar to be removed.
It may also be possible that the MIME-type of the file does not match the file extension. If possible try finding the correct extension and changing the file extension to that.