james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-1036) XMLVirtualUserTable throws exceptions when virtual domain not defined
Date Sat, 14 Aug 2010 15:19:16 GMT
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 eric@localhost.net is the mailbox)
- virtualusertable-store configured with 
<table name="DefaultVirtualUserTable" class="org.apache.james.vut.XMLVirtualUserTable">
        <recursiveMapping> true </recursiveMapping>
        <mappingLimit> 10 </mappingLimit>
        <mapping> eric-map@test-map.net=eric </mapping>
    </table>

Sending a mail to eric-map@test-map.net gives

INFO  17:16:28,148 | james.smtpserver | Successfully spooled mail Mail1281798987889-1 from
eric@localhost.net on 127.0.0.1 for [eric-map@test-map.net]
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message