Question: How can I use regular expressions in db files?
Don't know, but
Text files don't seem to be an option, because they are only read on startup so I cannot update them on the fly.
# smtpctl update table helotable File is recommended over db: https://www.mail-archive.com/misc@opensmtpd.org/msg03302.html