Care to try the following diff ?
--- table_db.c.orig.txt 2021-08-28 15:50:28.000000000 +0200
+++ table_db.c  2021-08-28 15:50:10.000000000 +0200
@@ -42,7 +42,9 @@ static char *table_db_get_entry_match(vo

  struct table_backend table_backend_db = {
        "db",
-       
K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|K_SOURCE|K_MAILADDR|K_ADDRNAME|K_MAILADDRMAP,
+       K_ALIAS|K_CREDENTIALS|K_DOMAIN|K_NETADDR|K_USERINFO|
+       K_SOURCE|K_MAILADDR|K_ADDRNAME|K_MAILADDRMAP|K_RELAYHOST|
+       K_STRING|K_REGEX,
        table_db_config,
        NULL,
        NULL,

Thank you gilles. I tried the patch but unfortunately the behaviour is
exactly the same as before.

$ makemap -U myregex.db
.*    <set>

The filter with this table should always match, but it only matches the
literal string ".*" When switching the table to file:/ backend the regex
works as expected.


Reply via email to