On 21/09/24 17:16, Wesley via Postfix-users wrote:
# postconf -d message_size_limit
message_size_limit = 10240000

as you see above, message_size_limit defauts to 10MB?
that would be too limited in my case.

It is very limiting, and to be honest I have increased it on my postfix as well, but do keep in mind that 10MB is a very common value for this setting so many of the systems you send to will have it set at 10MB, if you attempt to send a larger message increasing the limit allows your postfix to pass it through but it may then get rejected by the MX server you connect to (unless it also has a larger limit set).

Following your guide I have setup the values in main.cf:

mailbox_size_limit = 0
virtual_mailbox_limit = 0

I would not recommend setting these to 0. If you're not using local(8) or virtual(8) for delivery then these values don't matter, but if for some reason delivery does get done through one of these ldas due to some other mis-configuration or something then you have effectively eliminated the maximum mailbox size that postfix will allow. Just leave them at the defaults because it won't matter in your case unless something goes wrong then they add a bit of extra protection from massive emails overwhelming your system. Note that these settings, though, really only protects against mbox files because maildir files will only ever contain one message which can't go over message_size_limit anyways.

message_size_limit = 20480000

This is fine, though keep what I said about other servers above in mind.

And in dovecot's 90-quota.conf I have the practical value set for virtual 
mailbox size.

Right.


Peter
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to