You can set email.from.address in the conf/security.properties file. http://archiva.apache.org/docs/2.0.1/adminguide/customising-security.html https://github.com/apache/archiva-redback-core/blob/master/redback-configuration/src/main/resources/org/apache/archiva/redback/config-defaults.properties#L48
Regards, Brett On 11 Apr 2014, at 11:11 pm, Frederik Himpe <[email protected]> wrote: > 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 >
