> However there is another problem, now I have an endless loop. The symptom
is
> obviously that the Redirects reinserts the message to the spool. I am not
> sure, if this is the intended behaviour in this case, or only an accident.
Redirect would insert a new, Redirected, message into the spool.
<mailet match="[EMAIL PROTECTED]" class="Redirect">
<static>true</static>
<prefix>[SPAM blackholes-easynet-nl]</prefix>
<passThrough>true</passThrough>
</mailet>
Did you mean to have two copies? The Redirected one, and the original? Or
do you want to change passThrough to false?
> If you look at the attached message the body seems to be recursively
> included, this is surprising.
Oh? Soren was reporting something similar, and reported the cause as:
The problem was that the original mimemessage was "attached" to
the new mimemessage, this behaviour in some circumstances (here
I am a little on thin ice, cause it did not always happen) led
to a self-referencing MimeMessage, and storing those leads to
the observed behaviour.
The default for Redirect is that the inline type is BODY. Try using:
<inline>UNALTERED</inline>
<passThrough>false</passThrough>
which should use the original message.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]