GHOST is the conceptual equivalent of "destroy this mail", I'm not sure, therefore, why you should see this error "org.apache.mailet.MailetException: Unable to find processor ghost"
I'd suggest you try v2, the latest "nightly" build is looking increasingly like remaining substantially unchanged for the next v2 release, and has a number of performance and stability enhancements over v1 (plus the POP3 bug is fixed..) d. >-----Original Message----- >From: jason sackett [mailto:[EMAIL PROTECTED]] >Sent: 17 January 2002 16:47 >To: [EMAIL PROTECTED] >Subject: myRemoteDelivery > > >Working with JAMES 1.21, I tried to do as suggested by Serge and then Danny >with the RemoteDelivery Mailet.. There are three attemps shown below. The >first is trying to (as per what I could get from the Mailet API JavaDocs) >send the mail through the error processor. The second was just trying to >send the mail through any processor. The third is just a hard-coded >postmaster address. I got the same infinite loop exceptions shown after >with either case. I guess I am missing something on how to either >have this >error mail go to postmaster or send it through to another processor. Any >insight is much appreciated. Also, I do not know what the reference to the >processor <ghost> is; I do have a mailet called GhostDelivery and >a matcher >caller RecipientIsGhost though. >------------------------------------------------------------ > try { > //getMailetContext().bounce(mail, reason); > Vector recips = new Vector(); > recips.addElement(getMailetContext().getPostmaster().toString()); > >getMailetContext().sendMail(getMailetContext().getPostmaster(),(Col >lection)r >ecips,mail.getMessage(),"error"); > } catch (MessagingException me) { > >------------------------------------------------------------ > try { > //getMailetContext().bounce(mail, reason); > Vector recips = new Vector(); > recips.addElement(getMailetContext().getPostmaster().toString()); > >getMailetContext().sendMail(getMailetContext().getPostmaster(),(Col >lection)r >ecips,mail.getMessage()); > } catch (MessagingException me) { > >------------------------------------------------------------ > try { > //getMailetContext().bounce(mail, reason); > Vector recips = new Vector(); > recips.addElement("postmaster@localhost"); > >getMailetContext().sendMail(getMailetContext().getPostmaster(),(Col >lection)r >ecips,mail.getMessage()); > } catch (MessagingException me) { > >------------------------------------------------------------ >... >Exception in processor <error> >java.lang.ArrayStoreException > at java.lang.System.arraycopy(Native Method) > at java.util.Vector.toArray(Unknown Source) > at >org.apache.james.transport.LinearProcessor.verifyMailAddresses(Line >arProcess >or.java:195) > at >org.apache.james.transport.LinearProcessor.service(LinearProcessor. >java:125) > at >org.apache.james.transport.JamesSpoolManager.process(JamesSpoolMana >ger.java: >166) > at >org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager. >java:142) > at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113) >Exception in processor <ghost> >org.apache.mailet.MailetException: Unable to find processor ghost > at >org.apache.james.transport.JamesSpoolManager.process(JamesSpoolMana >ger.java: >163) > at >org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager. >java:142) > at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113) >Exception in processor <error> >java.lang.ArrayStoreException > at java.lang.System.arraycopy(Native Method) > at java.util.Vector.toArray(Unknown Source) > at >org.apache.james.transport.LinearProcessor.verifyMailAddresses(Line >arProcess >or.java:195) > at >org.apache.james.transport.LinearProcessor.service(LinearProcessor. >java:125) > at >org.apache.james.transport.JamesSpoolManager.process(JamesSpoolMana >ger.java: >166) > at >org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager. >java:142) > at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113) >Exception in processor <ghost> >org.apache.mailet.MailetException: Unable to find processor ghost > at >org.apache.james.transport.JamesSpoolManager.process(JamesSpoolMana >ger.java: >163) > at >org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager. >java:142) > at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113) >Exception in processor <error> >... >------------------------------------------------------------ > >Thank you for any help, >Jason > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
