i have a system with usernames/emailadresses. This system fetch only one mailbox.
I don’t want use a simple catchall-alias. Maybe is possible to inherit domainspecific a postgres-query for aliases?
Sending, receiving or both?
Most important would be receiving. For sending the sender verification can be turned off. (Sending also only with one account, so simple authentication is enough.
The easiest thing to do is to create a map file and add the map to Mailcow’s existing alias filter.
I don’t know if the postgresql extension is available in the LUA used by Mailcow.