Hello there,

I’m running Postfix and have configured a custom content filter on
localhost ( a python service that listens at 10025 ). When sending large
messages, Postfix rejects them with the following error:

message size 34639078 exceeds size limit 33554432 of server localhost[127.0.0.1]

>From what I can tell, the limit is being enforced by the Postfix content
filter (the localhost smtpd service). My global message_size_limit in
main.cf is already higher, but the content filter listener seems to have
its own setting at 33 MB (33554432).

Could someone please guide me on the correct steps to raise this limit?

Specifically:

   -

   Do I need to adjust the master.cf entry for the localhost smtpd (e.g. -o
   message_size_limit=...)?
   -

   Are there any additional changes needed in the content filter to accept
   larger messages?
   -

   Any best practices for keeping the limits consistent across Postfix and
   the filter?

My goal is to allow up to ~100 MB messages for outbound mail.

Thanks in advance for your help!
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to