--- Begin Message ---
Hello,

I would like to ask two questions regarding systemd behavior on CentOS 7/8 with amavis/postfix.

1. Postfix loads much faster than amavisd and especially clamd@amavisd.

I would find it safer to start postfix after amavisd AND clamd@amavisd has started.

How can we configure systemd to start postfix AFTER clamd@amavisd (triggered by amavisd) has started?

2. I found that clamd@amavisd does not need to be enabled because it gets started by amavisd.

However, when we stop amavisd, clamd@amavisd does NOT stop. I don't know if this is a feature, but I found that a graceful amavisd restart requires that clamd@amavisd has stopped too.

So, how could we configure systemd so that clamd@amavisd is also stopped when amavisd is requested to stop?

(Ideally, packages should be configured that way out-of-the box, IMHO.)

The packages I am using (on CentOS 8.3.2011) are:

amavisd-milter-1.7.1-1.el8.x86_64
amavis-2.12.1-5.el8.noarch

postfix3-3.5.8-1.gf.el8.x86_64

clamav-milter-0.103.0-1.el8.x86_64
clamav-filesystem-0.103.0-1.el8.noarch
clamav-0.103.0-1.el8.x86_64
clamav-update-0.103.0-1.el8.x86_64
clamav-data-0.103.0-1.el8.noarch
clamav-lib-0.103.0-1.el8.x86_64
clamd-0.103.0-1.el8.x86_64

Thanks in advance for your kind advice and guidance! (I know so little...)

Cheers,
Nick


--- End Message ---

Reply via email to