Bug 38949 - number of amavis processes should be configured via ucr
number of amavis processes should be configured via ucr
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UNSTABLE
Other Linux
: P5 enhancement (vote)
: UCS 4.1
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
: interim-1
Depends on: 37653
Blocks: 38937
  Show dependency treegraph
 
Reported: 2015-07-17 16:17 CEST by Daniel Tröder
Modified: 2015-11-17 12:12 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2015-07-17 16:17:14 CEST
+++ This bug was initially created as a clone of Bug #37653 +++

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
Comment 1 Daniel Tröder univentionstaff 2015-07-17 16:20:27 CEST
Commit 62217 adds 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.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-07-23 15:13:00 CEST
Code has been merged to UCS 4.1-0.
Comment 3 Stefan Gohmann univentionstaff 2015-11-17 12:12:15 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".