When a user wants to reset his password, tomcat/archiva sends a mail with "tomcat7@localhost" as the From address. Obviously this localhost domain is not accepted by the MTA of the smarthost. How to properly set the right domain name?
I had set
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"
mail.smtp.host="localhost"
mail.from="[email protected]"/>
</Context>
in archiva.xml, but this does not work.
--
Frederik Himpe
