amavis & redis

Phil Daws uxbod at splatnix.net
Wed Oct 15 16:12:19 CEST 2014


Hi Mark:

Appear to be current:

[root at db1 redis]# rpm -qa | grep redis
redis-2.8.17-2.el6.remi.x86_64

> nc 172.30.10.20 6379
PING
+PONG

Thanks, Phil

----- Original Message -----
From: "Mark Martinec" <Mark.Martinec+amavis at ijs.si>
To: "Phil Daws" <uxbod at splatnix.net>
Cc: amavis-users at amavis.org, "amavis-users" <amavis-users-bounces+mark.martinec+amavis=ijs.si at amavis.org>
Sent: Wednesday, 15 October, 2014 3:04:49 PM
Subject: Re: amavis & redis

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