On Wed, 4 Feb 2004, Kevin A. McGrail wrote: > With the code below, as far as I can tell the quota is only tested for the > first recipient.
> Further, I believe this is a limitation caused by the milter implementation. No, it's a limitation of SMTP. Inside a RCPT command, you can't even know for sure if a recipient is local, let alone what his/her quota is, unless you obtain that information externally. And you can't fail for some recipients and not others after DATA. I suppose in theory, you could obtain the SIZE=xxx keyword from the MAIL command, if one was supplied, and check the quota at each RCPT command. But SIZE=xxx is optional, and anyway, that info isn't made available to the Perl filter (though I bet I'll get requests for it. :-)) Regards, David. _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

