[Mimedefang] Error In filter

Jim McCullars jim at info.uah.edu
Tue Jul 15 16:19:01 EDT 2003

On Tue, 15 Jul 2003, Evil - Chilean Arrogance && Insanity wrote:

> ohh.. this is sad.. can i Use in filter_sender any var like INPUTMSG? i
> want to restrict message size by sender.. any idea?

   filter_sender cannot possibly know how big the message will be.  For
one thing, the message has not started being delivered at this point yet.
And even if the sender uses ESMTP and puts the SIZE= parameter on the RCPT
command, it has not been received yet when filter_sender gets called.
Your same code should work in filter_begin (although you will have to use
$Sender rather than $sender).

   David, would it be possible (or feasible) to make the ESMTP SIZE
parameter available in filter_recipient?


More information about the MIMEDefang mailing list