Postfix max mail file size

Written by Peter Davies on .

To obtain the current limit use (system used: Debian 4):

postconf | grep message_size_limit

Now edit the main postfix config:

nano /etc/postfix/main.cf

Add the line:

message_size_limit = 40960000

Now reload the postfix app:

/etc/init.d/postfix reload

Check again to see that the file size has been altered:

postconf | grep message_size_limit