Re: [xwiki-users] SMTP authentications

2009-03-10 Thread Lilianne E. Blaze
Norguir Bellagio wrote:
> Hi,
> 
> I have crawled the mailing lists and support forums on this but I am 
> unable to figure out the answer.
> 
> I am evaluating Xwiki and love Workspaces from what I've seen so far. 
> The one thing that really bogs me down is the inability to register an 
> authenticated SMTP server. I have read there is a patch from Liliane, 
> and the feature is included on 1.6 but I just can't seem to understand 
> how to get is to work. In an evaluation perspective (and very much so as 
> well in production), not being able to use authenticated SMTP server is 
> a no go for me.
> Could you please point me to a resource that clarifies what the 
> situation is and possibly, the steps to enable it on 1.7.
> 
> Thanks !
> 
> norguir


Actually I'm still waiting for it :/

I just made a quick check and it looks like that patch was not
committed, there's no support for setting username and password in
Administration, and registration mails still go via deprecated
XWiki.sendMessage, which is using Apache Commons SMTPClient (made
obsolete by JavaMail ages ago) and has no support for username/password
and extra properties.

As for mail.smtp.starttls.enable=true, AFAIK when used alone it simply
does not make sense.

_Please_ do something about it :/

If I remember correctly last time the main issue was that the code had
to be integrated in core instead of mail plugin, please, can't we have
the thing working at all first, worry about module separation later?
Basic mail support _is_ core functionality. For me it's a showstopper,
and I don't have enough time to maintain a private fork, either smtp
auth goes in, or I'm going out :/

And before someone says it's open source and I should stop bitching and
submit a patch - I _did_ submit a patch months ago :/

Greetings, Lilianne


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] SMTP authentications

2009-03-07 Thread Niels Mayer
>
> fromSergiu Dumitriu 
> reply-toXWiki Developers 
> toXWiki Developers 
> dateTue, Jan 13, 2009 at 6:49 PM
> subjectRe: [xwiki-devs] Issue with authenticated SMTP servers for "Admin
> Email" setting in Xwiki
>
> Niels Mayer wrote:
> > If I want to use smtp.gmail.com as my "Admin Email" preference set in
> >
> http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=General
> ;
> > the editor doesn't have the required fields or capabilities to provide
> > "authenticated SMTP" required by Gmail and numerous other mail providers
> per
> > http://mail.google.com/support/bin/answer.py?hl=en&answer=13287<../support/bin/answer.py?hl=en&answer=13287>::
> >
> 
>
> The mailsender plugin uses JavaMail as the internal mail sender. Reading
> a bit about the SSL/TLS support in it, I found that basically what you
> need to do is define mail.smtp.starttls.enable=true.
>
> http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp
> /package-summary.html
> also lists mail.smtp.ssl.protocols and mail.smtp.ssl.ciphersuites as
> SSL-related properties.
>
> Also, in order to be able to use secure sockets, the JSSE library must
> be present in the classpath (I think it is with standard JDKs), and the
> host must be able to accept the server's certificate.
>
> About the configuration part, the mailsender uses the
> javamail_extra_props property in your global XWikiPreferences as a
> standard .properties file (you will need to define it in the
> XWikiPreferences class, as a TextArea property).
>
> So, basically what you need to do is:
>
> 1. Edit the XWiki.XWikiPreferences class and add a TextArea property
> named javamail_extra_props
> 2. Edit the XWiki.XWikiPreferences object and enter in it:
> mail.smtp.starttls.enable=true
> 3. Find out what else needs to be done on the JVM side to make TLS work.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] SMTP authentications

2009-03-06 Thread Norguir Bellagio
Hi,

I have crawled the mailing lists and support forums on this but I am 
unable to figure out the answer.

I am evaluating Xwiki and love Workspaces from what I've seen so far. 
The one thing that really bogs me down is the inability to register an 
authenticated SMTP server. I have read there is a patch from Liliane, 
and the feature is included on 1.6 but I just can't seem to understand 
how to get is to work. In an evaluation perspective (and very much so as 
well in production), not being able to use authenticated SMTP server is 
a no go for me.
Could you please point me to a resource that clarifies what the 
situation is and possibly, the steps to enable it on 1.7.

Thanks !

norguir

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users