Hi,
I have a use-case that generates an exception at the RemoteDelivery
mailet (see stack below).
I want to apply different mailets to a mail depending on the recipient.
In order to test the use-case, I have created a SetSubject mailet. I run
James with the following configuration:
<mailet match="[EMAIL PROTECTED]" class="SetSubject">
<subject>User A</subject>
</mailet>
<mailet match="[EMAIL PROTECTED]" class="SetSubject">
<subject>User B</subject>
</mailet>
Now, I send a mail via James with three recipients: a, b and
[EMAIL PROTECTED] I expect to get three mails with different subjects:
"User A", "User B" and the original subject respectively. Each user sees
the rest of them in the TO, CC or BCC fields.
However, when I run this test, I get the exception that follows and only
user A receives his message. Any ideas?
Diego
______________________________________________________________________
java.lang.RuntimeException: Exception caught while storing a stream :
java.io.FileNotFoundException:
C:\Java\james-2.0a3-src\dist\apps\james\var\mail\outgoing\4D61696C313033
323236323737323736382D302D213938303534343431352D213930343336343133332D21
3631353338343831322D21313834343037363033322D21313637373338313433322D2131
3738333233333131322D746F2D696E65786265652E6672.Repository5.FileStreamSto
re (Filename too long)
at
org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Stream_
Repository.put(File_Persistent_Stream_Repository.java:108)
at
org.apache.james.mailrepository.AvalonMailRepository.store(AvalonMailRep
ository.java)
at
org.apache.james.transport.mailets.RemoteDelivery.service(RemoteDelivery
.java)
at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java)
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.j
ava)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Execu
tableRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.ja
va:86)
Exception in processor <transport>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>