Amavisd and Avira savapi
Juan Orti Alcaine
j.orti.alcaine at gmail.com
Thu Jun 29 09:55:51 CEST 2017
2017-06-29 3:17 GMT+02:00 Alex <mysqlstudent at gmail.com>:
> However, it still doesn't work. It still reports
> (!)Avira SAVAPI av-scanner FAILED: run_av error: All attempts (1)
> failed connecting to savapi:/var/tmp/.savapi3\n
> The savapi process is listening on that socket:
> # lsof
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> savapi 17290 amavis 9u unix 0xffff9268134efc00 0t0 6897894
> /var/tmp/.savapi3 type=STREAM
> I'm running savapi as the amavis user with the following:
> $ ./savapi --no-spv -N --config=savapi.conf --key-file=MYKEY.KEY
> Is this how you're starting yours as well?
> When I run status, I get the following:
> # ./savapi --status
> SAVAPI service, running on the interface '/var/tmp/.savapi3:0', status
> check successful.
> Any other ideas of what else I might be doing wrong?
Is SELinux enforcing?
Please, show us "ls -lZ /var/tmp/.savapi3"
Creating the socket in /var/run/amavisd with the SELinux label
antivirus_var_run_t will probably fix your issue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the amavis-users