Markus,
What would the format of this 'include' be? What if the file does not
exist?
dovecot.conf has a:
!include_try local.conf
For this purpose. This way, amavis.conf could ship with the ability to
handle a local.conf instead of still needing one mod.
On 04/06/2017 08:59 AM, Markus Clardy wrote:
Hello Robert,
Or, you could manage a separate file, and have the main amavis.conf
import the settings from that separate file at the very bottom (just
above the 1;) of the amavis.conf.
This would mean you aren't dirtying up the amavis.conf.
On 04/06/2017 01:46 PM, Robert Moskowitz wrote:
The 'standard' practice for instructions for customizing amavis.conf
have been to edit the file.
But after working on the roundcubemail php files, I think I have
learned a 'better' way?
amavis.conf is processed sequentially and is all about setting a
bunch of variables. Thus I *SHOULD* be able to just append my
changes at the end instead of figuring out all the places to change.
One caveat with amavis.conf that I have not seen in other .conf files
is the last line:
1; # insure a defined return value
Again, nothing says this cannot occur more than once, so I *SHOULD*
be able to end my variable settings append with that line.
This would make for a cleaner record of changes made, rather than
remembering all the places that were changed. Also cleaner
instructions in a howto.
thanks!