Hi All,
I'd like to change the behaviour of our James Server in Production (2.1.3
on Solaris 8),
Currently we have custom matchers for emails from 2 different systems,
If a mail passes thru both matchers it ends up in /var/mail/error (and a
mail is sent to the postmaster).
I'd like it to respond to the sender
* Using a pre-defined template message
* Quoting the original message
* CC the postmaster
I've looked at Redirect, but i didn't have the much luck...
Any ideas?
Heres my config...
Thanks
Michael
--------------------------------->
<spoolmanager>
<threads> 10 </threads>
<mailetpackages>
<mailetpackage>org.apache.james.transport.mailets</
mailetpackage>
<mailetpackage>com.dreeling.listeners.smtp</mailetpackage
>
<mailetpackage>com.dreeling.listeners.import.smtp</
mailetpackage>
</mailetpackages>
<matcherpackages>
<matcherpackage>org.apache.james.transport.matchers</
matcherpackage>
</matcherpackages>
<processor name="root">
<mailet match="RelayLimit=30" class="Null"/>
<mailet match="[EMAIL PROTECTED],
[EMAIL PROTECTED]" class="ToProcessor">
<processor>fromMichael</processor>
</mailet>
<mailet match="
com.dreeling.custommatchers.WEICustomRecipientMatcher" class="ToProcessor">
<processor>fromMichael</processor>
</mailet>
<mailet match="All" class="ToProcessor">
<processor> transport </processor>
</mailet>
</processor>
<processor name="fromArms">
<mailet match="SubjectStartsWith=Workorder" class="
MichaelOrderMessageProcessor">
</mailet>
</processor>
<processor name="fromImportUser">
<mailet match="All" class="MichaelImportMessageProcessor
">
</mailet>
</processor>
<processor name="error">
<mailet match="All" class="ToRepository">
<repositoryPath> file://var/mail/error/</
repositoryPath>
<passThrough> true </passThrough>
</mailet>
</processor>
<processor name="transport">
<mailet match="RecipientIsLocal" class="LocalDelivery"/>
<mailet match="HostIsLocal" class="ToProcessor">
<processor>error</processor>
</mailet>
</processor>
</spoolmanager>
<-------------------------------------------
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]