I was unable to get email to be sent via Archiva using the security.properties file (located in $ARCHIVA_BASE/conf). The ONLY way I was able to get this to work was by updating the jetty.xml file (located in $ARCHIVA_BASE/conf) with the updated smtp host information. From what I read, you should be able to set any SMTP related values in the security.properties. This doesn't seem to be the case. Some email settings could be specified in the security.properties file but it doesn't seem consistant.
I have included a sample file that I was using, with zero success. We also noticed that if there are exceptions being throw from Archiva, which I assume there are when the email setting are configured properly, we aren't seeming them in ANY logs (archiva, stderrout, wrapper ... etc). Also when looking at the security.properties (located at http://svn.codehaus.org/redback/redback/trunk/redback-configuration/src/ main/resources/org/codehaus/plexus/redback/config-defaults.properties) I see that there is a property named 'email.jndiSessionName' what is its purpose? I was trying to decode its purpose but I couldn't come to a good conclusion. -----Original Message----- From: Michael Delaney [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 8:33 AM To: [email protected] Subject: RE: Archiva setup Deng, I went created the user via the registration process. I also attempted to resend the validation mail via the 'User Management' page on Archiva. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maria Odea Ching Sent: Wednesday, September 24, 2008 10:11 PM To: [email protected] Subject: Re: Archiva setup Hi Michael, Since Redback 1.1, validation mails are no longer sent for users created by a User/System admin. It is now only sent if the user went through the registration process. Hmm, did you try re-sending the validation mail? Thanks, Deng On Thu, Sep 25, 2008 at 9:40 AM, Michael Delaney <[EMAIL PROTECTED]>wrote: > All, > > > > I am trying to configure Archiva 1.1.2 on a Solaris X86 box. I have > unpacked Archiva to /app/archiva, I have also created the file > /app/archiva/conf/security.properties in which I am specifying some SMTP > settings. These settings should enable me to be able to send email (user > notification) but I am not able to do so. I looked through the logs in > /app/archiva/logs (the stdouterr, require, audit ... etc) but I don't > see it trying to send any mail. Is there a way for me to verify this > file is being loaded propertly? Such as a way to enable more verbose > logging? > > > > > Mike D > > > >
