it appears that
local_part_suffix_optional
local_part_suffix = -*
is not applied when routers are working in recipient verify mode.
What am I missing then of:
During the testing of the "local_parts" option, and while the router is
running, the prefix is removed from the local part, and is available in
the expansion variable $local_part_prefix. If the router accepts the
address, this remains true during subsequent delivery. In particular, the
local part that is transmitted in the RCPT command for LMTP, SMTP, and
BSMTP deliveries has the prefix removed by default. This behaviour can
be overridden by setting "rcpt_include_affixes" true on the relevant
transport.
The router on which I have tested this is:
cyrus_ltcp_overtcp:
driver = accept
domains = +local_domains
local_part_suffix_optional
local_part_suffix = -*
transport = cyrus_ltcp
# verify_only = true
cyrus_ltcp:
driver = smtp
protocol = lmtp
hosts = localhost
allow_localhost
port = 24
What's up?
Giuliano