archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Johnson" <amarkjohn...@gmail.com>
Subject Re: Archiva 1.1 email settings
Date Fri, 25 Jul 2008 17:47:59 GMT
Thanks for your help, this allowed me to move on, also to discover the
"security.properties" file.  I found that by adding the property below, I
solved my problem.

email.from.address=myuser@mycompany.com
(obviously using a valid user and domain)

Mark

> On Thu, 24 Jul 2008 03:03:02 GMT, Maria Odea Ching <oching@apache.org>>
wrote
>  Hi Mark,
>
> You can turn off the email validation by setting this in your
> security.properties file (which should be put in your ~/.m2 directory):
>
> email.validation.required=false
>
> An issue regarding the validation mail was re-opened for 1.1, see
> http://jira.codehaus.org/browse/MRM-584 for more details..
>
>
> Thanks,
> Deng

> On Thu, Jul 24, 2008 at 5:15 AM, Mark Johnson <amarkjohnson@gmail.com>
wrote:

> I was using (just setting up) Archiva 1.0.2. I decided to upgrade to 1.1
> before going live. I had email working correctly w/ Plexus settings, but
> cannot get archiva/jetty to correctly send email.
>
> I have made the following changes to the jetty.xml
>
> <New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">
> <Arg>mail/Session</Arg>
> <Arg>
> <New class="org.mortbay.naming.factories.MailSessionReference">
> <Set name="user"></Set>
> <Set name="password"></Set>
> <Set name="properties">
> <New class="java.util.Properties">
> <Put name="mail.smtp.host">smtp.mycompany.com</Put>
> </New>
> </Set>
> </New>
> </Arg>
> </New>
>
> I have also added users and password in various combinations
> <Set name="user">myuser</Set>
> and
> <Set name="user">mydomain\myuser</Set>
> <Set name="password">mypassword</Set>
>
> How is this configured? How can I turn of the email validation, I cannot
> create new users until I resolve this.
>
> Thanks,
> Mark
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message