amavis & redis

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed Oct 15 16:04:49 CEST 2014


Phil,

> Have tried to enable redis pen pals support, with amavis 2.9.1, using
> the following:
> 
> @storage_redis_dsn = (
>     { server => '172.30.10.20:6379', db_id => 1 },
> );
> 
> @ip_repu_ignore_networks = qw( 172.30.10.0/24 );
> 
> but when I restart amavis I receive the error:
> 
> (!)save_info_final failed, Redis error: Can't connect to a redis
> server db_id 1 server 172.30.10.20:6379: ERR Syntax error, try CLIENT
> (LIST | KILL ip:port)
> 
> have tested using nc 172.30.10.20 6379 and I can see on the remote
> host the connection.
> 
> any thoughts as to what am doing wrong please ?

Probably your redis server is too old and does not
recognize a  CLIENT SETNAME  command.

You may safely remove the line:
     $r->call('CLIENT', 'SETNAME', 'amavis['.$$.']');
of the amavisd program, or upgrade redis.

   Mark


More information about the amavis-users mailing list