On Mon, Mar 16, 2015 at 11:31:28AM -0500, Brainslug wrote: > But outbound email originating on the mail server itself (users sending > mail via 'mail -s "test" u...@gmail.com' on the mail server) is still > going out, even if the mail size exceeds message_size_limit.
Consider a multi-instance approach where the local-submission null-client forwards mail via SMTP to the outbound MTA instance. This is by far the simplest solution: http://www.postfix.org/MULTI_INSTANCE_README.html Local senders of overly large messages would then get a bounce (make soure to set a small-enough bounce_size_limit. I recommend bounce_size_limit=1). -- Viktor.