On Fri, Feb 13, 2015 at 09:33:52AM +1100, Carl Brewer wrote:
> Feb 13 08:36:33 postfix/lmtp[8436]: CBA4A1B3D4A3:
> to=<[email protected]>,
> relay=rollcage3.bl.echidna.id.au[/var/imap/socket/lmtp], delay=0,
> delays=0/0/0/0, dsn=2.1.5, status=deliverable (250 2.1.5 ok)
As a work-around:
The Postfix lmtp(8) delivery agent implements the "lmtp_generic_maps"
parameter, which avoids the backscatter issues with wildcard
virtual(5) rewrites:
main.cf:
default_database_type = cdb
indexed = ${default_database_type}:${config_directory}/
lmtp_generic_maps = ${indexed}downcase-domains
downcase-domains:
# caseless key # canonical form
@aboc.com.au @aboc.com.au
...
Makefile:
DBEXT=cdb
DBTYPE=cdb
all: \
downcase-domains.${DBEXT}
# Mind your TABs
downcase-domains.${DBEXT}: downcase-domains
postmap ${DBTYPE}:downcase-domains
Adjust to "hash" or "lmdb" (and corresponding file extensions) if
you prefer those to "cdb".
--
Viktor.