Cisco-Talos / clamav

ClamAV - Documentation is here: https://docs.clamav.net
https://www.clamav.net/
GNU General Public License v2.0
4.43k stars 706 forks source link

v1.3.0 clamd <-> clamav-milter fails: "Can't create temporary directory ERROR" #1177

Closed pgnd closed 9 months ago

pgnd commented 9 months ago

i'm setting up clamav 1.3 + clamav-milter on a linux box

clamav's built from source

milter's fed by postfix

both are up

ps aux | grep clam

    clamav    8632  6.1 17.9 1683176 1449336 ?     Ssl  13:58   0:14 /usr/local/mx/clamav-current/sbin/clamd --debug --config-file=/usr/local/etc/clamav/clamd.conf

    clamav-+  8689  0.0  0.0 182584  4996 ?        Ssl  13:58   0:00 /usr/local/mx/clamav-current/sbin/clamav-milter --config-file /usr/local/etc/clamav-milter/clamav-milter.conf

inbound mail's being rejected. logs show a /tmp dir error,

==> /var/log/clamav/clamd.log <==
Fri Feb 16 13:58:41 2024 -> /tmp/clamav-89c4939dc5e2de1337b11b873ea9116d.tmp (deleted): Can't create temporary directory ERROR

==> /var/log/clamav-milter/clamav-milter.log <==
Fri Feb 16 13:58:41 2024 -> ERROR: Unknown reply from clamd

checking perms,

ls -ald /tmp
  drwxrwxrwt 18 root root 400 Feb 16 14:03 /tmp/

shouldn't be an issue.

PrivateTmp=yes is NOT set in my systemd units.