I'm looking for a solution to the problem of sending a multiple recipient message to users while some of those users have full mailboxes and need a bounced message instead of receiving. Yet the other users still need to receive the same message.

I've written a custom matcher to look for full mailboxes in my email system. It implements the Bounce mailet with the following settings:

<mailet match="QuotaMatcher" class="Bounce">
             <sender>postmaster</sender>
             <attachError>false</attachError>
             <message>This is a Bounced message</message>
<prefix>This message was returned from ldscenter.com because the recipients mailbox did not have sufficient space to receive it.</prefix>
             <inline>body</inline>
             <attachment>message</attachment>
             <passThrough>true</passThrough>
             <fakeDomainCheck>true</fakeDomainCheck>
             <debug>true</debug>
</mailet>

And it sends the Bounces just fine, but then still passes the mail object with the bounced recipients still in it to my receiver mailet. I'm looking for a way to either remove the "bounced" recipients from the mail object that is passed to my reciever mailet (I tried to do this in the matcher "Quota Matcher", but the mail object does not seem to be persistent throughout the execution of the spool) or to create a reference list of non-receiving users that my custom receiving mailet can read.

The only solution I can see is for my matcher "Quota Matcher" to write out to a file the names of non-receiving users, but I REALLY don't want to do that. I'm looking for other solutions

Thank you,
Brian Goodrich

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

Reply via email to