Wietse Venema via Postfix-users wrote in <4wk63t2dvkzj...@spike.porcupine.org>: |The Postfix message size limit is an MTA property, not something |that varies with the sender. Or client. Or recipient address. If |you want to allow a larger size, increase message_size_limit, and |use postfwd or the like to enforce a lower limit in |smtpd_end_of_data_restrictions. | |In the polocy delegation protocol, | | * The "size" attribute value specifies the message size that the client | specified in the MAIL FROM command (zero if none was specified). With | Postfix 2.2 and later, it specifies the actual message size after the | client sends the END-OF-MESSAGE.
Ok, you mean a policy server that acts upon * The "size" attribute value specifies the message size that the client specified in the MAIL FROM command (zero if none was specified). With Postfix 2.2 and later, it specifies the actual message size after the client sends the END-OF-MESSAGE. And then returning a RFC 1870 "552" code to signal size excess. That looks doable, but it seems to me that i then have to use a very high limit which postfix announces via "250-SIZE", and reject many (practically all) emails because of size restrictions nonetheless, or do not use message_size_limit at all, eh, which results in the 10 MB default to be used, and likely be announced. In a world were the IETF transposes "one hop" first-hand reputation (ie "Organizational Trust" of RFC 5863) to entire message chains "over the corner" aka "many hops" (like ARC etc), but anyhow, where "organization reputation" may play a role, i would love to have an option to not report an actual size in the "250-SIZE" greeting, you know. If i make it high and have to reject most of the emails i would be afraid of someone keeping track of it, and penaltizing my "Organizational Trust", so to say, and who am i if that would be a big money one. And making it low will not work out since it surely leads to a premature coitus interruptus, so to say. (I mean, it is not that bad in practice since the fallout for that 500000 is very, very low given where i listen and speak. So that is more of a theoretical thing of the problem as such.) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org