JavaMail API security permissions best practices
In many
of its activities, the JavaMail API needs to access
certain configuration files. The JavaMail and JavaBeans Activation
Framework binary packages themselves already contain
the necessary configuration files. However, the JavaMail API allows
the user to define user-specific and installation-specific configuration
files to meet special requirements.