[Mimedefang] Compliance

Jan Pieter Cornet johnpc at xs4all.nl
Fri Apr 8 03:26:35 EDT 2005


On Fri, Apr 08, 2005 at 08:50:18AM +0900, alan premselaar wrote:
> >Anyway, I consider it a feature :) It makes users more likely to clean
> >up their act, instead of inadvertently using your system as a rain barrel.
> 
> are you using stream_by_recipient to do this? or are you rejecting the 
> mail for every recipient if just one of the recipients is over quota?

See my other post, which contains the actual code. I reject in
filter_recipient, so that's "RCPT TO" time in the SMTP protocol.

The actual mail size isn't always known at that point, but in practice
most mailers do send a SIZE= parameter, so it's good enough.

We never use stream_by_recipient/stream_by_domain, since that will
_always_ make the server send bounces if you decide to reject the
message in the filter. That isn't really mimedefang's fault, it's
an SMTP protocol limitation.

-- 
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet



More information about the MIMEDefang mailing list