:: What is Postfix
Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. It is intended as a fast, easier-to-administer, and secure alternative to the widely-used Sendmail MTA. – WikiPedia
:: How to setup attachment size limit
+ checking limit size for attachment
|
1 2 3 |
postconf | grep message_size_limit
# default is 10MB
message_size_limit = 10240000 |
+ edit main.conf on this line
|
1 |
postconf -e "message_size_limit = 5240000" |
+ checking new configuration
|
1 2 3 |
postconf | grep message_size_limit
# change to 5MB
message_size_limit = 5240000 |
+ restarting postif
|
1 |
/etc/init.d/postfix restart |