Customizing amavis.conf

Markus Clardy markus at clardy.eu
Thu Apr 6 14:59:54 CEST 2017


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!
>



More information about the amavis-users mailing list