mysql – The Postmap database returns an error not found

I have configured my Postfix configuration with Mysql maps, as detailed here and here.

I have a file in /etc/postfix/ that contains the following:

    user = mailuser
password = fLxsWdf5ABLqwhZr
hosts =
dbname = mailserver
query = SELECT 1 FROM virtual_users WHERE email = & # 39;% s & # 39;

this is linked to /etc/postfix/ with the following line:

virtual_mailbox_domains = mysql: /etc/postfix/

When I use postmap

postmap -qv mysql: /etc/postfix/

I got the following error:

fatal: open the database There is no such file or directory

Clearly there is no database "" but I hope it will be seen in the "mailserver" database.