email_server: aliases: Drop use of hash DB
There is no need to convert sqlite3 to DBM format. Postfix supports querying from sqlite database directly. Further, refactor the database handling code for simplicity and consistency with rest of the code.
This is built on top of !2122 (closed) so that needs to be merged first.
cc: @fioddor-guest