james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: Problem with Redirect Mailet
Date Wed, 30 Sep 2009 14:31:32 GMT
You created a loop.

Every mail passing in transport is "redirected". The redirect itself
is a mail that will have to be processed and when it will go in
transport it will start another redirect.
The exception you see is explicit about this loop and saved you from
an auto-Denial-of-Service ;-)

Stefano

2009/9/30 Cristiano Andrade <cristiano.s.andrade@gmail.com>:
> config.xml on attachment
>
> Thx,
>
> Cristiano
>
> On Wed, Sep 30, 2009 at 10:37 AM, Norman Maurer <norman@apache.org> wrote:
>>
>> Hi,
>>
>> could you post your complete config.xml ( just remove sensitive data).
>>
>> Thx,
>> Norman
>>
>>
>> 2009/9/30 Cristiano Andrade <cristiano.s.andrade@gmail.com>:
>> > Hello Guys,
>> >
>> > I'm trying to use mailet for Redirect message and I got this error:
>> > javax.mail.MessagingException: Unable to create a new message name: too
>> > long. Possible loop in config.xml
>> >
>> > config.xml:
>> >
>> >        <mailet match="All" class="Redirect">
>> >           <static>true</static>
>> >           <reversePath>null</reversePath>
>> >           <sender>postmaster</sender>
>> >           <replyto>postmaster</replyto>
>> >           <inline>none</inline>
>> >           <attachment>message</attachment>
>> >           <prefix>[SPAM]</prefix>
>> >           <passThrough>false</passThrough>
>> >           <message>Based on our analysis, the attached message has
been
>> >         marked as SPAM. From quick review of the subject
>> >         line one should discern whether it is a legitimate
>> >         message, and if true delete it without opening it.
>> >         Postmaster doimain-name.com</message>
>> >        </mailet>
>> >
>> >
>> >
>> > How Can I solve this?
>> >
>> >
>> > Thanks in Advance
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Mime
View raw message