Amavisd and Avira savapi

Alex mysqlstudent at gmail.com
Thu Jun 29 03:17:40 CEST 2017


Hi,

>>  ['Avira SAVAPI',
>>    \&ask_daemon, ["*", 'savapi:/var/tmp/.savapi3', 'product-id'],
>>    qr/^(200|210)/m,  qr/^(310|420|319)/m,
>>    qr/^(?:310|420)[,\s]*(?:.* <<< )?(.+?)(?: ; |$)/m ],
>> # settings for the SAVAPI3.conf: ArchiveScan=1, HeurLevel=2, MailboxScan=1
>>
>> Does anyone know how either to properly pass the license key info,
>> read it from a file, or otherwise make this work properly?
>
> aks avira/your reseller for the product-id
> it's a 5 digit number.
>
> my entry:
>   ['Avira-SAVAPI',
>     \&ask_daemon, ["*", 'savapi:/path/to/savapi/socket', '12345'],
>     qr/^(200|210) /m,  qr/^(310|420|319)/m,
>     qr/^(?:310|420)[,\s]*(?:.* <<< )?(.+?)(?: ; |$)/m ]

Yes, thank you, I also just realized that.

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 /var/tmp/.savapi3
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?

Thanks,
Alex


More information about the amavis-users mailing list