archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: How to change originating domain for e-mails
Date Fri, 11 Apr 2014 13:20:28 GMT
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 <fhimpe@vub.ac.be> 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="archiva@example.com"/>
> </Context>
> 
> in archiva.xml, but this does not work.
> 
> -- 
> Frederik Himpe
> 


Mime
View raw message