Wietse Venema:
> Mark Goodge:
> > That is, what's the simplest way of rejecting email from a list of
> > domains contained within a simple text file that can be updated
> > regularly without needing to restart Postfix.
>
> What do you mean with "regularly"? Postfix SMTP daemons check if a
> hash: or btree: file has changed when a new client connects.
> However they don't auto-detect changes to pcre/regexp/cidr files.
>
> If Postfix daemons must see updates instantaneously, use the LMDB
> client of Postfix 2.11-20131122 ("postmap simple-text-file"). Or
> use *SQL. Or serve the "simple text file" with a socketmap: or
> tcp: daemon. Or use DNS (reject_rhsbl_client).
Alternatively, this could be as simple as implementing a variant
of texthash: tables that keeps the file open and re-reads it after
change.
Wietse