[Exim] Local_scan_options, any hints ?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Abaddon
Data:  
Para: exim-users
Assunto: [Exim] Local_scan_options, any hints ?
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello, i have:

local_scan.c:

static int local_scan_cond = 0;
static uschar *local_scan_host = US"127.0.0.1";
static int local_scan_port = 10200;
static uschar *local_scan_dir = US"/tmp/test";
static uschar *local_scan_expr = US"infected";

optionlist local_scan_options[] = {
        { "local_scan_cond", opt_int, &xtmail_av_cond },
        { "local_scan_host", opt_stringptr, &xtmail_av_host },
        { "local_scan_port", opt_int, &xtmail_av_port },
        { "local_scan_dir", opt_stringptr, &xtmail_av_dir },
        { "local_scan_expr", opt_stringptr, &xtmail_av_expr }
};


int local_scan_options_count = sizeof(local_scan_options)/sizeof(optionlist);

configure:

begin local_scan
local_scan_cond = 1
local_scan_host = 127.0.0.1
local_scan_port = 10200
local_scan_dir = /server/smtp/spool/scan
local_scan_expr = infected

I get:

22:09:58 5853 LOG: PANIC DIE
22:09:58 5853 Exim configuration error in line 132:
22:09:58 5853 local_scan option "local_scan_dir" unknown

or even with local_scan_expr, both dont work.

Why the hell does exim not found local_scan_dir or local_scan_expr ??

Abaddon
--