diff --git a/man/mta-sts-daemon.yml.5.adoc b/man/mta-sts-daemon.yml.5.adoc index 852485cc4f7d61e8ae276f28e43804ac1fa28cc4..3fc4ad18618f8dac955862ca50524e7b2cdb250e 100644 --- a/man/mta-sts-daemon.yml.5.adoc +++ b/man/mta-sts-daemon.yml.5.adoc @@ -32,7 +32,7 @@ The file is in YAML syntax with the following elements: *cache*:: -* *type*: (_str_: _internal_|_sqlite_|_redis_) cache backend type. Default: internal +* *type*: (_str_: _internal_|_sqlite_|_redis_|_redis_sentinel_) cache backend type. Default: internal * *options*: ** Options for _internal_ type: *** *cache_size*: (_int_) number of cache entries to store in memory. Default: 10000 @@ -42,6 +42,10 @@ The file is in YAML syntax with the following elements: *** *timeout*: (_float_) timeout in seconds for acquiring connection from pool or DB lock. Default: 5 ** Options for _redis_ type: *** All parameters are passed to `aioredis.from_url` [0]. Check there for a parameter reference. + ** Options for _redis_sentinel_ type: + *** *sentinel_master_name*: (_str_) name of the sentinel master + *** *sentinels*: (_list_)(_tuple_) list of sentinels in form of ip/fqdn and port + *** All other parameters are passed to `aioredis.sentinel.Sentinel` [1]. For additional details check [2]. *proactive_policy_fetching*:: @@ -66,7 +70,7 @@ The timeout is used for the DNS and HTTP requests. MTA-STS "testing" mode can be interpreted as "strict" mode. This may be useful (though noncompliant) in the beginning of MTA-STS deployment, when many -domains operate under "testing" mode. +domains operate under "testing" mode. == Example @@ -99,3 +103,7 @@ domains operate under "testing" mode. 0.:: https://aioredis.readthedocs.io/en/latest/api/high-level/#aioredis.client.Redis.from_url +1.:: + https://aioredis.readthedocs.io/en/latest/getting-started/#redis-sentinel-client +2.:: + https://redis.readthedocs.io/en/stable/connections.html#sentinel-client