Postfix recipient_delimiter not working with catchall defined
short description
The postfix recipient_delimiter is not working if a catchall for the email domain is defined.
If no catchall is enabled the recipient_delimiter works as expected.
Example
Mail account test@domain.tld
Catchall for @domain.tld
to mail account catchall@domain.tld
Mail send to test+something@domain.tld
is delivered to catchall@domain.tld
correct behaviour
Mail send to test+something@domain.tld
should be delivered to test@domain.tld
environment
Server OS: ubuntu
Server OS version: 20.04.1 LTS (focal)
ISPConfig version: 3.2dev20201006
Postfix version: 3.4.13-0ubuntu1
additional information
In ISPConfig 3.1.x this worked as expected.
Some difference between 3.1 and 3.2 maybe related to this are changes in the files /etc/postfix/mysql-virtual_*.cf
which may result in different sql queries executed by postfix.