Amavisd and Avira savapi

Alex mysqlstudent at gmail.com
Thu Jun 29 17:39:22 CEST 2017


Hi,

>> Jun 29 08:30:08 catchme amavis[25066]: (25066-01) (!)connect to
>> /var/tmp/.savapi3 failed, attempt #1: Can't connect to a UN
>> IX socket /var/tmp/.savapi3: No such file or directory
>> Jun 29 08:30:08 catchme amavis[25066]: (25066-01) (!)Avira-SAVAPI
>> av-scanner FAILED: run_av error: All attempts (1) failed
>> connecting to savapi:/var/tmp/.savapi3\n
>>
>> # lsof /var/tmp/.savapi3
>> COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF    NODE NAME
>> savapi  18823 amavis    9u  unix 0xffff926673dd0400      0t0 6992460
>> /var/tmp/.savapi3 type=STREAM
>
>
> Check the PrivateTmp directive in amavisd.service

It's set to "true".

# grep -i tmp /etc/amavisd/amavisd.conf
$TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
$ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR, used by SA, etc.

# ls -la ~amavis/tmp/
total 12
drwxr-x--- 3 amavis amavis 4096 Jun 29 11:27 .
drwxr-x--- 8 amavis amavis 4096 Jun 28 21:11 ..

$ ps axu|grep savapi
amavis   18823  0.1  5.6 647576 462884 pts/2   Sl+  Jun28   1:29
./savapi -N --config=savapi.conf --key-file=MYKEY.KEY

Thanks,
Alex


More information about the amavis-users mailing list