Control Web Panel

WebPanel => Postfix => Topic started by: je2u on January 19, 2017, 02:12:32 PM

Title: Postfix attachment size
Post by: je2u on January 19, 2017, 02:12:32 PM
How to check and change postfix attachment size (topic for posterity)

I had problem with attachments in my postfix configuration, so I checked what is the value of message_size_limit, you can do it by:

Code: [Select]
postconf | grep message_size_limit
Result of this command wiil be size of a message which can be accepted via (smtp/imap/pop3) in bytes.

To change that type:

Code: [Select]
postconf -e message_size_limit=20480000
In that case, message will be limited to 20MB.
After setting the correct value, you could restart postfix service.