You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Miroslav Nachev <mi...@space-comm.com> on 2003/04/29 16:15:36 UTC

Problem with custom Mailet

   Hi,
   
   I have a problem with a mailet.
   I ran my first mailet, which service method is just a

      System.out.println("Hello first mailet :)");

   Everything is fine but when I look at the log file -
spoolmanager-2003-04-29-17-00.log

   I can see these errors:
29/04/03 17:00:56 ERROR spoolmanager.error: Exception calling NotifyPostmaster:
Unable to create multipart body
org.apache.mailet.MailetException: Unable to create multipart body
        at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster.java:200)
        at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:362)
        at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:385)
        at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:315)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)

29/04/03 17:00:56 ERROR spoolmanager: Exception in processor <error>
org.apache.mailet.MailetException: Unable to create multipart body
        at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster.java:200)
        at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:362)
        at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:385)
        at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:315)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)
29/04/03 17:00:56 ERROR spoolmanager: An error occurred processing
Mail1051628447241-1 through error
29/04/03 17:00:56 ERROR spoolmanager: Result was ghost


   Can you tell me the reason for this exceptions and how to fix them?


   Regards,
   Miro.



---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


Re[2]: Problem with custom Mailet

Posted by Miroslav Nachev <mi...@space-comm.com>.
   Hi,
   
NB> This is saying that a mailet went to NotifyPostmaster in the error
NB> spool, and there was an error in that mailet.  What makes you
NB> think that your custom mailet is involved?

   It is very interesting that in case that the mail has attached
file(s) the error doesn't occur. What will happen if the sender
doesn't attach some file - my mailet will not work?


   Miro.



---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


RE: Problem with custom Mailet

Posted by "Noel J. Bergman" <no...@devtech.com>.
> spoolmanager.error: Exception calling NotifyPostmaster:
> Unable to create multipart body
> org.apache.mailet.MailetException: Unable to create multipart body
>        at
>
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
.java:200)

This is saying that a mailet went to NotifyPostmaster in the error spool,
and there was an error in that mailet.  What makes you think that your
custom mailet is involved?

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org