Hello,

I have two Postfix inbound servers which serve multiple domain and I'd like to 
accept 20 Mb email for all domain except one (I want 10 Mb limit for this one).
In main.cf I set message_size_limit = 20971520 and I use a policy server 
(postfwd) to check the recipient and the mail size.
I configured postfwd that way : when the recipient belongs to the 10Mb domain 
and the size attribute is over 10 MB, then  return a 5xx error.
In most case, it works but sometime it doesn't and I don't understand why and 
how to debug…

As far as I understand, the documentation says that the size attribute is set 
by the sender. So the size is not computed by Postfix nor the policy server and 
I have to rely on information (badly) sent by remote mail servers..
Am I right ?
Is there a better solution to achieve my goal ?

Thanks for your help.

Alexandre

Reply via email to