2018-02-07 20:01:12 +00:00
|
|
|
The Postfix default configuration can easily be extended by providing a `config/postfix-main.cf` in postfix format.
|
|
|
|
This can also be used to add configuration that is not in our default configuration.
|
|
|
|
|
|
|
|
For example, one common use of this file is for increasing the default maximum message size:
|
|
|
|
```
|
|
|
|
# increase maximum message size
|
|
|
|
message_size_limit = 52428800
|
|
|
|
```
|
|
|
|
|
2019-08-21 08:39:20 +00:00
|
|
|
That specific example is now supported and can be handled by setting POSTFIX_MESSAGE_SIZE_LIMIT.
|
|
|
|
|
2018-02-07 20:01:12 +00:00
|
|
|
[Postfix documentation](http://www.postfix.org/documentation.html) remains the best place to find configuration options.
|
|
|
|
|
|
|
|
Each line in the provided file will be loaded into postfix.
|
|
|
|
|
|
|
|
Have a look at the code for more information.
|