XMLVirtualUserTable throws exceptions when virtual domain not defined
---------------------------------------------------------------------
Key: JAMES-1036
URL: https://issues.apache.org/jira/browse/JAMES-1036
Project: JAMES Server
Issue Type: Bug
Reporter: Eric Charles
Assignee: Eric Charles
- enableVirtualHosting set to false in James.xml and localhost.net as default
domain
- eric user defined via the adduser in remote manager (so [email protected] is
the mailbox)
- virtualusertable-store configured with
<table name="DefaultVirtualUserTable"
class="org.apache.james.vut.XMLVirtualUserTable">
<recursiveMapping> true </recursiveMapping>
<mappingLimit> 10 </mappingLimit>
<mapping> [email protected]=eric </mapping>
</table>
Sending a mail to [email protected] gives
INFO 17:16:28,148 | james.smtpserver | Successfully spooled mail
Mail1281798987889-1 from [email protected] on 127.0.0.1 for
[[email protected]]
INFO 17:16:28,605 | james.mailetcontext | Error while storing mail.
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.apache.james.impl.vut.AbstractVirtualUserTable.getMappings(AbstractVirtualUserTable.java:163)
at
org.apache.james.impl.vut.AbstractVirtualUserTable.getMappings(AbstractVirtualUserTable.java:110)
at
org.apache.james.transport.mailets.VirtualUserTable.processMail(VirtualUserTable.java:89)
at
org.apache.james.transport.mailets.AbstractVirtualUserTableMailet.service(AbstractVirtualUserTableMailet.java:76)
at
org.apache.james.transport.camel.MailetProcessor.process(MailetProcessor.java:60)
at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]