Where exactly I should increase it? Postfix has no Memory option? My System has 8 GB Ram.
And there are only 3 Active Mail Accounts on the Server. Its not "overloaded".
EDIT:
Found an Error in mail.log
Dec 19 17:37:28 XXXXXX amavis[31324]: (31324-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 113) line 659.\n
That could be the reason. How to solve?
EDIT 2:
I think I fixed it. Had an Error in the Service Status and clamav exited:
Dez 19 17:41:41 XXXXXXXX clamd[32085]: ERROR: Parse error at /etc/clamav/clamd.conf:79: Unknown option StatsPEDisabled
And this was for all Entries beginning with: Stats......
/etc/clamav/clamd.conf
Before:
StatsEnabled false
StatsPEDisabled true
StatsHostID auto
StatsTimeout 10
After:
#StatsEnabled false
#StatsPEDisabled true
#StatsHostID auto
#StatsTimeout 10
Now clamd is running again and mails are delivered quickly.
Additionaly I commented out this because of this Warning:
Dez 19 17:49:54 XXXXXXX clamd[32443]: WARNING: Ignoring deprecated option DetectBrokenExecutables at /etc/clamav/clamd.conf:40
#DetectBrokenExecutables false
And one common note because of Buster and Dovecot 3.x. It pulls this Warning:
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:51: ssl_dh_parameters_length is no longer needed
Commented it out too.
Perhaps all this should be included in iRedMail 1.0.1 @ZhangHuangbin?