On Mon, Sep 01, 2025 at 09:19:17AM +0200, Jan Marek via Postfix-users wrote:
> > - postmap does not. The documentation describes only what
> > postmap does.
>
> OK, I've got it. Is there some debuging tool for
> virtual_alias_maps, which can do substring lookups, to ensure,
> that my virtual_alias_maps is correct?
Nothing that is currently bundled with Postfix. At the API level, I
assume you're looking for a non-recursive lookup that performs the
standard substring lookups when the full key does not match.
This is the job of the mail_addr_map(3) function, either without
or with configurable extension propagation. With a bit of work,
this could be an additional postmap(1) feature.
Mind you, the user would still be responsible for normalising the input
string, the trivial-rewrite normalisation is not entirely "trivial".
--
Viktor. 🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]