[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

restricting postfix



i am annoyed, because there are so many dorks out there who attach
just about whatever they can find to an email and send it off.
unfortunately, we are paying for transfer volume, so i'd like to fend
these huge mails off before too much damage (i.e. too many bytes) has
happened.

i am using postfix, and i know about the message_size_limit option,
which i'd like to set to 256 kb. however, as far as i know, my postfix
will only reject the message after it has been transmitted. is there
any way in which this could be monitored and controlled?

and also, can one customize the error message that postfix returns in
response to a large message (it's a "552 message too large" error)?

thanks,

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
xerox does it again and again and again and ...



Reply to: