Hi Lilianne,
Yes someone needs to refactor the current XWiki.sendMessage to use the
mail sender plugin instead. This is some leftover of old code. We're
just waiting for someone to work on this. If you can send us a patch
for this refactoring we could apply it.
It would be great if you could send us a patch to support
authentication for the sendmail plugin.
Thanks
-Vincent
On Jun 9, 2008, at 9:00 AM, Lilianne E. Blaze wrote:
Hello,
I'm using version 1.5 m1.
While trying to register an user I'm getting error 553 - my smtp
requires authenticating even from 127.0.0.1. Don't ask :/
I have a pretty good idea how to modify MailSenderPlugin to
authenticate, but here's a surprise - it's not used. At least not when
sending welcome mails.
com.xpn.xwiki.XWikiException: Error number 10006 in 10: Could not send
mail to s
erver 127.0.0.1 port 25 error code 553 (553 sorry, that domain isn't
in
my list
of allowed rcpthosts / Ta domena nie znajduje sie na liscie
obslugiwanych przez
serwer, jest zablokowana lub nieprawidlowo skonfigurowano
uwierzytelnianie SMTP
(#5.5.3 - vuser)
)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3258)
at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3294)
at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:3199)
at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:3162)
at com.xpn.xwiki.XWiki.createUser(XWiki.java:3114)
at
com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:41)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
709)
It seems XWiki.sendMessage is deprecated, true, but still in use.
Are there any plans to actually connect MailSenderPlugin any time
soon?
Adding authing in MailSenderPlugin would be trivial. Hacking it into
current version of XWiki.sendMessage, well, that'd be less trivial.
Any suggestions on what to do? I need it more or less working in about
two weeks.
Greetings, Lilianne E. Blaze