On Fri, May 06, 2022 at 10:06:31PM +0100, Anthony Griffiths via MIMEDefang 
wrote:
> I'm running mimedefang-2.86 on centos 7.
> I can't get mimedefang to work with clamav-0.103.5. In the maillog I always 
> get:
> 
> mimedefang.pl[3520]: 245Fuojh003739: Could not connect to clamd daemon
> at /var/spool/MIMEDefang/clamd.sock
> mimedefang.pl[3520]: 245Fuojh003739: Problem running virus scanner:
> code=999, category=cannot-execute, action=tempfail
> mimedefang.pl[3520]: 245Fuojh003739: filter:  tempfail=1
> mimedefang[3715]: 245Fuojh003739: Tempfailing because filter instructed us to
> sendmail[3739]: 245Fuojh003739: Milter: data, reject=451 4.3.0 Problem
> running virus-scanner
> 
> when I ran ./configure to install mimedefang it detected clamd and said:
> Make sure clamd runs as the defang user!
> how does one do this?
> I tried:
> # runuser -l defang -c/usr/local/sbin/clamd &
> but md still throws the same error. it's not creating the clamd.sock file.
> how do I fix this? thanks for any help.
> 
you should set ClamAV to run as defang user in clamd.conf.
You should set "User defang" and "LocalSocket /var/spool/MIMEDefang/clamd.sock
" in /etc/clamd.conf and start clamd service with systemd(1) or with
your init manager.

 Giovanni

Attachment: signature.asc
Description: PGP signature

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

MIMEDefang mailing list [email protected]
https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org

Reply via email to