[Mimedefang] Error In filter

David F. Skoll dfs at roaringpenguin.com
Tue Jul 15 16:24:00 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?

Sure; do it in filter_begin:

if ($Sender eq '<small_sender at domain.net>' and
    -s "./INPUTMSG" > 1000000) {
    return action_bounce("Message too big.");
}

--
David.



More information about the MIMEDefang mailing list