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 "Hu, Yu" <Yu...@mednet.ucla.edu> on 2009/04/10 21:58:33 UTC

mailet service

I am new user for JAMES 2.3.1. I create my own mailet called EmailMailet, it does just using log4j to log sender info. I repackage the james.sar and restart the server. Here is the EmailMailet config.xml

     <mailetpackages>
      <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
      <mailetpackage>org.apache.james.transport.mailets.smime</mailetpackage>
      <mailetpackage>edu.ucla.mccs.emailadaptor</mailetpackage>
   </mailetpackages>

     <mailet match="All" class="EmailMailet">
            <LogFile>/james-2.3.1/apps/james/logs/emailmailet.log</LogFile>
     </mailet>


 My EmilMailet get instantiated. Here is the log from spoolmanager.
10/04/09 10:53:55 INFO  spoolmanager: Matcher All instantiated.
10/04/09 10:53:55 INFO  spoolmanager: Mailet EmailMailet instantiated.

I can send email to JAMES, but service function didn't execute. Can you give me some advice why my service not execute?

Thanks,

-- Yu Hu --

________________________________
IMPORTANT WARNING: This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the intended recipient, please immediately notify us by return email, and delete this message from your computer.