Thats strange.. But a2 is really old and since a2 many bugs were fixed.
You should try the latest rc release. If nothing goes wrong rc3 will be
released tomorrow. Please test with this release and report .
thx
Norman
Evert Tigchelaar schrieb:
From my mailed log file.
14/09/06 11:30:13 INFO James.Mailet: RemoteAddrNotInNetwork:
Authorized addresses: [127.0.0.1/255.255.255.255,
10.0.0.1/255.255.255.255]
14/09/06 11:30:13 INFO James.Mailet: RemoteDelivery: maxRetries is
larger than total number of attempts specified. Increasing last
delayTime with 19 attempts
14/09/06 11:30:13 INFO James.Mailet: RemoteDelivery: Delay of
21600000 msecs is now attempted: 20 times
14/09/06 11:36:56 INFO James.Mailet: Error while storing mail.
javax.mail.MessagingException: Exception caught while storing Message
Container: java.lang.NullPointerException
at
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailRepository.java:328)
at
org.apache.james.transport.mailets.ToMultiRepository.storeMail(ToMultiRepository.java:253)
at
org.apache.james.transport.mailets.ToMultiRepository.service(ToMultiRepository.java:152)
at
org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:64)
at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:415)
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306)
at java.lang.Thread.run(Thread.java:595)
The NPE is thrown by the following code in the store(Mail) method in
AvalonMailRepository because wrapper.getSourceId() returns null
because it has no source like I wrote in my previouse mail.
if (wrapper.getSourceId().equals(destinationBuffer.toString()) &&
!wrapper.isModified()) {
Not fully sure which exact version I use because the developer in the
company I work who normaly works on the James code is on holiday, he
should come back next week. But I think we use build 2.3.0 A2.
Stefano Bagnara wrote:
What release of james 2.3-dev are you using?
What is your config.xml and what is the exact stack trace?
Stefano
Evert Tigchelaar wrote:
When I send an e-mail from local user to
1 or 2 users, no problem but when I send an e-mail to more
than I get a npe in AvalonMailRepository because the source field
(of class MimeMessageSource) in MimeMessageWrapper is null. I use a
filebased inboxRepository like this in the config.xml
<inboxRepository>
<repository destinationURL="file:///E:/mail/inboxes/"
type="MAIL"/>
</inboxRepository>
is this a known problem?
I use: "James Mail Server 2.3-dev" (copyed from the console when I
run.bat script.
---------------------------------------------------------------------
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]
!EXCUBATOR:1,45092a9a45113227520818!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]