Re: virtual_alias_maps with both: regexp and mysql

2021-01-09 Thread Frank Röhm
> Am 09.01.2021 um 13:25 schrieb Leonardo Rodrigues : > > Em 09/01/2021 06:25, Frank Röhm escreveu: >> I would put then: >> >> /^.*@mydomain.tld$/ fr...@mydomain.tld >> >> Would that be correct? >> I don’t want to just test it, it is a productive mailserver. >> >> > > Never

Re: virtual_alias_maps with both: regexp and mysql

2021-01-09 Thread Leonardo Rodrigues
Em 09/01/2021 06:25, Frank Röhm escreveu: I would put then: /^.*@mydomain.tld$/ fr...@mydomain.tld Would that be correct? I don’t want to just test it, it is a productive mailserver.     Never actually tried it, bur first thing that cames to my mind is "why not let MySQL solve the

virtual_alias_maps with both: regexp and mysql

2021-01-09 Thread Frank Röhm
Hallo I wonder if I could add a regexp rule to my virtual_alias_maps so I could realize wildcard addresses, like: somew...@mydomain.tld > fr...@mydomain.tld At the moment I have: virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf and