Hi,
I tried to add regexp aliases to postfix - no success so far…
I need to get wildcard aliases like:
something_random-blah@mydomain.tld
so I added new file to Webmin->Servers->Postfix->Mail aliasses
regexp:/etc/aliases-regexp
and added new line to this file like this:
/[a-z0-9]+\-blah-mydomain\.tld/i: myadress@anotherdomain.tld
Than run
newaliases
postfix reload (or service postfix restart)
When sending mail to blah-blah@mydomain.tld I get
550 5.1.1: Recipient address rejected: User unknown in virtual alias table
Any advice would be appreciated.
D.