[Exim] Limiting Message size

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico van der Dussen
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Limiting Message size
Hi,

Thanks to all for advise, comments etc.

I'm using the code below in my RCPT ACL section with success (or so
it seems - I'll monitor and test some more before my final verdict.)

deny    message = Max message size exceeded
  condition = ${if >{$message_size}\
{${lookup{$sender_address}lsearch*{/usr/exim/virtual/max_size_send
er}{$value}{20M}}}\
{true}{false}}


I still have message_size_limit = 14M in my main config section - and I
know there is a contradiction :-))

Now for the gurus: Do I still need this, and how will this affect my
system?

The next obvious step for me is to chain the lookup function I use so if
a sender is not listed, a lookup on server_ip and then on recipient. But
that is for later.

At this time I do not see the need (or use) to implement my limits in the
DATA ACL as well - as suggested on the list.

Regards

Nico

www.vddi.co.za___________________________
N van der Dussen
VDDi
Posbus 13488, CLUBVIEW, RSA, 0014
Tel +27 12 663-2710
Faks +27 12 663-2808
___________________________________