Hi,

Have you already tried to connect directly to your mail server from the
machine on which your archiva runs?

You can test the connection e.g. with the command:

# telnet smtp-host.your-company.com 25

Regards,
andi


On Wed, Jun 25, 2008 at 8:10 PM, EJ Ciramella <[EMAIL PROTECTED]>
wrote:

> So a user has signed up, but because our mail server is
> rejecting/refusing connection (same such connection info works from an
> ant mail task), he's not getting the validation email.
>
>
>
> I've set passwords for this user, but they can't log in from their
> machine.  Any suggestions?
>
>
>
> 2008-06-25 14:05:33,993 [http-8080-34] ERROR
> org.codehaus.plexus.redback.xwork.mail.Mailer:default  - Unable to send
>
> message, subject [Welcome to Maven Archiva]
>
> org.codehaus.plexus.mailsender.MailSenderException: Error while sending
> the message.
>
>        at
> org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
> AbstractJavamailMailSender.java:22
>
> 4)
>
>        at
> org.codehaus.plexus.redback.xwork.mail.Mailer.sendMessage(Mailer.java:14
> 5)
>
>        at
> org.codehaus.plexus.redback.xwork.mail.Mailer.sendAccountValidationEmail
> (Mailer.java:70)
>
>        at
> org.codehaus.plexus.redback.xwork.action.RegisterAction.resendRegistrati
> onEmail(RegisterAction.java:207)
>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>
>        at java.lang.reflect.Method.invoke(Method.java:585)
>
>        at
> com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActio
> nInvocation.java:358)
>
>        at
> com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultA
> ctionInvocation.java:218)
>
>        at
> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
> ation.java:192)
>
>        at
> org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.in
> tercept(SecureActionInterceptor.ja
>
>
>
> Caused by: javax.mail.MessagingException: Could not connect to SMTP
> host: XXXXXXXXXXXXXXXXX, port: 25;
>
>  nested exception is:
>
>        java.net.ConnectException: Connection refused: connect
>
>        at
> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
>
>        at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
>
>

Reply via email to