Postfix: fatal: bad numerical configuration: message_size_limit =

OS type and version Rocky 8.7
Webmin version 2.001
Virtualmin version 7.3 Pro
Related packages Postfix

A client asked me to increase the mail size limit. I increased it in Webmin > Servers > Postfix Mail Server.

Postfix then stopped working. When I go back into to Webmin > Servers > Postfix Mail Server, I get

Error while checking current Postfix configuration. Please manually fix Postfix configuration.

postfix: fatal: bad numerical configuration: message_size_limit = 30,720,000

I went back into /etc/ and changed the message_size_limit back to the default 10240000, but the Webmin error remains unchanged, and Postfix will not start from Virtualmin.

Oddly enough, systemctl shows it running and is able to restart it, but it shows as failed in Webmin and Virtualmin and will not accept mail connections.

Is there some other file I need to edit?



Never mind. I restored the Postfix configuration from backup and changed
message_size_limit to 25600000. It seems to like that better.


This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.