Univention Bugzilla – Bug 37653
number of amavis processes should be configured via ucr
Last modified: 2015-07-28 15:50:52 CEST
In larger mail environments check for spam could delay the mail processes. It would be nice to configure the maximum amaivs processes. You have to edit two template files: /etc/univention/templates/files/etc/amavis/conf.d/60-univention the important variable is: $max_servers = 2 In order to: # You may want $max_servers to match the width of your MTA pipe # feeding amavisd, e.g. with Postfix the 'Max procs' field in the # master.cf file, like the '2' in the: smtp-amavis unix - - n - 2 smtp you also have to set the number in the postfix master.cf template: /etc/univention/templates/files/etc/postfix/master.cf.d/30_antivir smtp-amavis unix - - n - 2 smtp
Please commit all changes also to UCS 4.1.
Commits 62191 - 62193 add a new UCRV mail/antivir/max_servers to configure the max. number of concurrent Amavis processes. When unset "2" is used, not changing the current default. YAML commit 62195: * 2015-07-17-univention-mail-postfix.yaml * 2015-07-17-univention-antivir-mail.yaml
OK: code change OK: YAML OK: functional test (tested with 5 child processes)
<http://errata.univention.de/ucs/4.0/260.html> <http://errata.univention.de/ucs/4.0/263.html>