I get the same warning but when I look in org.ops4j.pax.logging.cfg there are no filters of javaxmail.
I found a file with the name “org.ops4j.pax.logging.cfg.dpkg-dist” which contains the filter.
The date of this file is the same as the release date of openhab 2.5.0, 2019-12-15.
Is it recommended to replace the old file?
I’m not very good on Linux so I found the following instructions in another thread,
sudo mv org.ops4j.pax.logging.cfg org.ops4j.pax.logging.cfg.old
sudo mv org.ops4j.pax.logging.cfg.dpkg-dist org.ops4j.pax.logging.cfg
I guess this refers the log4j2.xml in the same directory.
This contains the following entry
<!-- Filters known issues of javax.mail, see -->
<!-- https://github.com/openhab/openhab-addons/issues/5530 -->
<Logger level="ERROR" name="javax.mail"/>```
Somehow it seems it is not suppressing the warning.