You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Mark Johnson <am...@gmail.com> on 2008/07/23 23:15:48 UTC
Archiva 1.1 email settings
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
Re: Archiva 1.1 email settings
Posted by Maria Odea Ching <oc...@apache.org>.
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 <am...@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
>