Thx for reporting.. This is a bug, which was not spotted by me because I only use IMAP. I will fix it in a few minutes.
Bye, Norman 2010/2/19 Jamesmail <[email protected]>: > Have a test set up on a FreeBSD 7.2-RELEASE-p6 server with Java version > 1.6.0_07 and virtual hosting enabled. > > Have created five test domains with one user each. > > When a test message is sent to a user, for example, postmas...@localhost, one > copy of the message is correctly stored in > "var/mail/inboxes/localhost/postmaster/" and a second copy is stored in > "var/mail/error". > > The corresponding mailet.log entry is: > -------------------------------------------------------------------- > INFO 11:03:58,837 | james.mailetcontext | Error while storing mail. > java.lang.ClassCastException:org.apache.james.server.jpa.JPAUsersRepository > cannot be cast to org.apache.james.impl.jamesuser.JamesUsersRepository > at > org.apache.james.impl.jamesuser.LocalJamesUsersRepository.getMappings(LocalJamesUsersRepository.java:62) > at > org.apache.james.transport.mailets.UsersRepositoryAliasingForwarding.processMail(UsersRepositoryAliasingForwarding.java:103) > at > org.apache.james.transport.mailets.AbstractVirtualUserTableMailet.service(AbstractVirtualUserTableMailet.java:68) > at > org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:93) > at > org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:456) > at > org.apache.james.container.spring.StateAwareProcessorList.service(StateAwareProcessorList.java:127) > at > org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:164) > at java.lang.Thread.run(Thread.java:619) > INFO 11:03:58,847 | james.mailetcontext | Storing mail Mail1266595438838-14 > in file://var/mail/error > -------------------------------------------------------------------- > > Any ideas? > > Thank you > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
