revert the renaming of virtual_users to virtual_mailboxes

It does not really add much value and makes things more complicated
during migration. Plus the table contains passwords so it's more than
just the mailboxes.
This commit is contained in:
Christoph Haas 2025-08-24 16:33:00 +02:00
parent 28edb36704
commit 6de9d4f6c7
5 changed files with 10 additions and 10 deletions

View file

@ -198,12 +198,12 @@ user = mailserver
password = SECOND-PASSWORD-HERE
hosts = 127.0.0.1
dbname = mailserver
query = SELECT 1 FROM virtual_mailboxes WHERE email='%s'
query = SELECT 1 FROM virtual_users WHERE email='%s'
EOF
```
Just the same story as with virtual domains. The database returns `1` if there is a `virtual_mailboxes` record matching
that specific email address.
Just the same story as with virtual domains. The database returns `1` if there is a `virtual_users` record matching that
specific email address.
Actually the _answer_ is usually not `1` but the path to the mailbox on disk. But that applies only if Postfix would be
saving the email to disk on its own. In our setup the email will be passed on to Dovecot in a later step. Dovecot will