Hello.

What I wanted to do with mimedefang is to add special recipient to all
emails which size >= 5MB
for example I have [EMAIL PROTECTED] If there's 10MB incoming
email I whant it to be passed to [EMAIL PROTECTED] along with
original recipient.

I think I need to add few lines to filter_end() like these

my $x = 5120; #bytes
if (message_size() >= $x) {
  add_recipient('[EMAIL PROTECTED]');
}

but I don't know how to write message_size() function... Or is there
any $MsgSize variable avialable?


-- 
Anton Kudris


_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to