Hello,

My goal is to allow different message size on MX and submission.
As message_size_limit is a cleanup option, this is my (non working) setup
based on http://www.postfix.org/BUILTIN_FILTER_README.html#mx_submission

main.cf
      message_size_limit = 5120000

master.cf
      # define a separate cleanup service
      submission-cleanup                     unix  n - - -     0 cleanup
        -o syslog_name=postfix/submission
        -o message_size_limit=40000000

      # MX smtpd use default cleanup with size=5 MB
      smtp                                   inet  n - - -     - smtpd

      # Submission smtpd use separate cleanup with size=40 MB
      587                                    inet  n - - -     - smtpd
       -o cleanup_service_name=submission-cleanup
       -o smtpd_recipient_restrictions=permit_tls_clientcerts,reject
       -o syslog_name=postfix/submission

But that don't work as intended. Both smtpd announce size=5MB
Running multiple postfix instances should solve the problem.
are there other solutions?

Thanks
Andreas


Reply via email to