DOKK / manpages / debian 12 / mtpolicyd / Mail::MtPolicyd::Connection::Redis.3pm.en
Mail::MtPolicyd::Connection::Redis(3pm) User Contributed Perl Documentation Mail::MtPolicyd::Connection::Redis(3pm)

Mail::MtPolicyd::Connection::Redis - a mtpolicy connection for redis databases

version 2.05

  <Connection redis>
    server = "127.0.0.1:6379"
    # or
    # sock = "/path/to/sock"
    # or
    # sentinels = "127.0.0.1:12345,127.0.0.1:23456"
    # service = "mymaster"
    db = 0
    # password = "secret"
  </Connection>

Connect to redis server with TCP/IP.

Format: <host>:<port>

Connect to redis server UNIX domain socket.

Specify the path to the UNIX domain socket.

Specify a comma separated list of sentinel instances to contact for finding the master for the service specified by "service" below.
Specify the service to ask the sentinel servers for.
Set to 1 to enable debugging of redis connection.
Set password if required for redis connection.
Select a redis database to use.

Markus Benning <ich@markusbenning.de>

This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991
2022-10-15 perl v5.34.0