Sorry for the slow reply. So far you have configured your mailet to be available to James, but have you altered the process flow to include passing received mail through your mailet?
Cheers -- Steve > -----Original Message----- > From: Hu, Yu [mailto:[email protected]] > Sent: 10 April 2009 20:59 > To: '[email protected]' > Subject: 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</maile > tpackage> > <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. >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
