The first matcher/mailet pair in either "local-address-error" or "relay-denied" processors has the following:

            <!-- The original message is not attached to keep the
   bounce processor from deliverying spam -->
            <mailet match="All" class="Bounce">
               <attachment>none</attachment>
            </mailet>

Is this whay you were looking for?

[...] Then, if [EMAIL PROTECTED] send a too huge mail to [EMAIL PROTECTED], there is a error message sent to the sender. Here is the relevant part of config.xml :

<processor name="error">
    <mailet match="All" class="Bounce"/>
...
</processor>

But, the error msg contains the original msg, so is to huge, and is put in error stat. So the sender never recieve the error msg. In a more pratical point of view, I would perfer that the error msg doen't contain any attached file, eventually list them, but not attache to the error mail msg for the sender.

Is there already Mailer/Matcher to achied that ?
How to configure them to treat only msg in error stat from the SMTP block ?


Thanks for any pointers or suggestions,

Carl



Reply via email to