PDA

View Full Version : how do i set message_size_limit in postfix


demiurgen
October 17th, 2007, 03:41 PM
i find the main.cf file inside /etc/postfix, open it up and search for :
message_size_limit

phrase not found... its not there...??


where can i find it if its not in main.cf?


i have set up my mail server following this guide:
http://www.howtoforge.com/virtual_postfix_mysql_quota_courier_ubuntu_edgy

foxylad
October 17th, 2007, 08:52 PM
It's not there because you haven't put it in there. Postfix (and most linux applications) will use default settings if entries don't exist.

Try adding it and then running postconf -d - this will tell you waht all settings are.

MJN
October 18th, 2007, 04:39 AM
(Sorry foxylad - I seem to be following you around here!)

Note that postconf -d will list the default values of all settings so if you've added a particular directive this won't be reflected in the list (postconf -n will however show this, if it's been set).

Mathew