archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deng Ching <och...@apache.org>
Subject Re: How to configure smtp?
Date Wed, 24 Mar 2010 00:10:26 GMT
Oh, sorry :)

On Tue, Mar 23, 2010 at 11:33 PM, Robert Wierschke
<wierob83@googlemail.com>wrote:

> Hi Deng,
>
> I already got your first reply via the web archive ;) but I still
> get AuthenticationFailedException without any further detail. So,
>
> 1) is there a way to increase the log level in order to get more
> information about the exception cause
>

This might help: http://tomcat.apache.org/tomcat-6.0-doc/logging.html


> 2) what other properties can be configured for mail (e.g. TLS)
>

Could you try adding mail.smtp.starttls.enable=true to the mail resource?


> 3) is there a way to configure mail via the archiva web interface
>

There's no way to configure it from the web UI..


> 4) is it possible to disable the user registration dialog and setup up the
> users manually in order to avoid the exception.
>

I'm not sure I understand what you mean here :)

Thanks,
Deng


>
> regards
> robert
>
> 2010/3/23 Deng Ching <odeaching@gmail.com>
>
> Hi Robert,
>>
>> Please subscribe to the Archiva users list, your mails are getting
>> moderated :) I already replied to your first email btw, I don't think you
>> got it since it was in the users list..
>>
>> Anyway, you can set the mail session config as follows:
>>
>> <Resource name="mail/Session"  type="javax.mail.Session" auth="Container"
>>    mail.smtp.host="localhost"
>>    mail.smtp.auth="true"
>>    mail.user="USERNAME"
>>    mail.password="PASSWORD"
>>    mail.port="25"
>>    mail.transport.protocol="smtp"
>>    mail.debug="true"/>
>>
>>
>> Thanks,
>> Deng
>>
>>
>> On Tue, Mar 23, 2010 at 9:09 PM, Robert Wierschke <
>> wierob83@googlemail.com> wrote:
>>
>>> Unfortunately, I keep getting javax.mail.AuthenticationFailedException.
>>> Is
>>> there a way to increase the log level in order to get more information?
>>>
>>> 2010/3/22 Robert Wierschke <wierob83@googlemail.com>
>>>
>>> > Hi,
>>> >
>>> > can you point me to some more documentation on how to configure mail
>>> > settings?
>>> >
>>> > After following the instructions here [1], I get exceptions when trying
>>> to
>>> > register users due to wrong email settings. How can I configure the
>>> smpt
>>> > server being used (especially authentication)?
>>> >
>>> > Thanks in advance.
>>> >
>>> > regards,
>>> > robert
>>> >
>>> > [1] http://archiva.apache.org/docs/1.3/adminguide/webapp.html
>>> >
>>>
>>
>>
>

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