Amavisd and Avira savapi

A. Schulze sca at andreasschulze.de
Wed Jun 28 23:36:35 CEST 2017



Am 28.06.2017 um 22:55 schrieb Alex:
> Hi,
> I'm trying to get the Avira savapi working with amavisd-new-2.11.0 on
> fedora25 and having some trouble. I've set it up to communicate with a
> local socket and it works properly when using their example binary to
> send it a file to be scanned.
> 
> This example savapi binary requires a license key be sent along with
> the path to the file. The section in the amavisd.conf file for savapi
> does not provide that ability:
> 
>  ['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 ]

> # ./savapi --version
...
these infos don't help you here

Andreas


More information about the amavis-users mailing list