Done the basic james mail server and it's working fine.
I have a very simple requirement.
I need to mimic MS outlook rules via james.

Let's say when the incoming mail:
1)Out of office auto reply-just delete it
For that I have made the following entries in the config file
<mailet match="SubjectStartsWith=Out of Office AutoReply" class="Null"/>
<mailet match="SubjectStartsWith=Out of Office Autoreply" class="Null"/>
<mailet match="SubjectStartsWith=Out of Office Auto-Reply"
class="Null"/>
<mailet match="SubjectStartsWith=Out of Office Auto-reply"
class="Null"/>
<mailet match="SubjectStartsWith=Undeliverable Mail" class="Resend">

Works fine.anyway I can receive the emails properly without any
problems.

2)<mailet match="SubjectStartsWith=Undeliverable Mail" class="Resend">
                        <recipients>[EMAIL PROTECTED]</recipients>
                        <to>[EMAIL PROTECTED]</to>
                        <sender>[EMAIL PROTECTED]</sender>
                        <message>sent on from James</message>
                        <inline>unaltered</inline>
                        <passThrough>FALSE</passThrough>
                        <replyTo>postmaster</replyTo>
                </mailet>
But the problem with this is that the mails are not getting forwarded to
[EMAIL PROTECTED]

Instead the mail goes to:
C:\james-2.2.0\apps\james\var\mail\error

Also gets the following error at the server console:
exception! javax.mail.MessagingException: Unable to create a new message
name: too long. Possible loop in config.xml.


What to do???


3)<mailet match="SubjectStartsWith=Delivery Status Notification
(failure)" class="Null"/>
         <mailet match="SubjectStartsWith=Delivery status notification
(failure)" class="Null"/>
         <mailet match="SubjectStartsWith=Delivery Status Notification
(Failure)" class="Null"/>
This thing I need to send it some local repositary....

Any idea ??
With Best Regards:
Ashutosh Sharma

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

Reply via email to