Hi,

I'm a currently testing James in order to replace Exim, the smtp server we're using at the moment. I'm quite impressed by James, and all the possibilities offered by the mailet/matcher system.

As every beginner, i've got a couple of questions :)

1. When using the "ToRepository" mailet, i alway got 2 files delivered to the filesystem repository :

- The mail content as a FILESTREAMSTORE file
- a serialized Java object as a FILEOBJECTSTORE file

As i don't need the serialized java object, is it possible to configure James not to write it?

2. I also need to have the UserId (as available in UserIs matcher) to be written as a X-HEADER in the mail locally delivered (something like X-DELIVERED-TO)

I didn't found anywhere in the documentation the possibility to add this information. So what i need is the mailet "AddHeader" like :

<mailet match="All" class="AddHeader">
<name>X-SMTP-USER</name>
<value>${userId}</value>
</mailet>


This doesn't work like that. So i was wondering if there were some gloval variables availables while using mailet ??

Is the only solution to my problem is to write my own mailet?

Thanks a lot for your answer

Christophe Musielak





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to