S
S
sailorpapay2018-06-21 11:24:49
postfix
sailorpapay, 2018-06-21 11:24:49

How to make such postfix aliases?

You need an alias in postfix of the type:
[email protected]
[email protected]
[email protected]
BUT! the question is, is it possible to make an alias like test.testvouy.*@test.com
(so as not to specify a specific address)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2018-06-21
@z3apa3a

Yes, via alias_maps or virtual_alias_maps, e.g.
virtual_alias_maps = regexp:/path/to/map
and in /path/to/map
/^test.testvouy\.[0-9][email protected]\.com$/ [email protected] test.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question