hodor: > Hello, > > I've got 3 machines running postfix 2.11-20131001. Incoming connections are > balanced via haproxy (and postscreen_upstream_proxy_protocol=haproxy). Right > now each postfix instance has its own postscreen_cache_map. Everything works > fine. > > I thought I could share the cache among all nodes using memcache with > postscreen_cache_cleanup_interval left to default and with the persistent > btree > backup specified. > > Something like: > > # main.cf > postscreen_cache_map = memcache:/etc/postfix/postscreen_cache.cf > > # postscreen_cache.cf > memcache = inet:10.11.12.13:11211 > key_format = postscreen:%s > backup = btree:/var/lib/postfix/postscreen_cache > ttl = 86400
This will work, but keep in mind that only the memcache will be shared. This should still speed things up for clients that connect frequently, so it would be an improvement over what you have now. Wietse