Postage fails at startup when Server has SMTP AUTH enabled
----------------------------------------------------------
Key: POSTAGE-8
URL: http://issues.apache.org/jira/browse/POSTAGE-8
Project: Postage
Issue Type: Bug
Reporter: Bernd Fondermann
Thanks to Vincenzo for reporting this bug:
> Postage doesn't support SMTP Authentication for "int-ext" users. Perhaps it
> is expected, as a "real" config.xml
> has in any case to be hacked to run postage, and setting <authRequired> to
> false is easy. But insuch case it
> should be said in the docs.
Stacktrace:
>>>>
SEVERE: could not even start the runner successfully
org.apache.james.postage.StartupException: inbound SMTP service not available
at
org.apache.james.postage.client.SMTPClient.checkAvailability(SMTPClient.java:96)
at
org.apache.james.postage.PostageRunner.setupInboundMailing(PostageRunner.java:340)
at
org.apache.james.postage.PostageRunner.execute(PostageRunner.java:118)
at org.apache.james.postage.PostageRunner.run(PostageRunner.java:171)
at org.apache.james.postage.Main.runScenarios(Main.java:82)
at org.apache.james.postage.Main.main(Main.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Authentication
Required
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at
org.apache.james.postage.client.SMTPClient.checkAvailability(SMTPClient.java:94)
... 10 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1
Authentication Required
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1094)
... 14 more
<<<<
This problem can be reproduced by changing authRequired => true and commenting
out
<authorizedAddresses>127.0.0.0/8</authorizedAddresses>
Workaround: set <authRequired> to false.
1: We should support SMTP AUTH.
2: Add a note to the docs (as Vincenzo already suggested).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]