Pedro David Marco via Postfix-users:
> Hi everybody...
> In theory, it's possible to centralize and share the Postfix
> address verification database used by verify daemon across multiple
> servers using memcache

It should work assuming that there are no changes in te way that
Postfix stores address statu information. It has not changed in 20+
years.

> Please, has anyone implemented this setup? If so, how well does
> it work in practice?

There length of a memcache storage key must be 250 or less. Longer
keys will cause a database lookup error, so that address verification
never succeeds. Only *recent* versions of Postfix 3.11 can compute
a digest (like sha256) of the key and use that instead.

https://www.postfix.org/memcache_table.5.html#memcache_key_parameters

You may need to use a canonical_map that truncates addresses to 250
for example:

recipient_canonical_maps = regexp:{ {/^(.{,150}).+/ $1} }

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to