August 25, 2021 9:43 AM, "Jack" <mimerun...@gmx.de> wrote:

> Hello list,
> 

Hello,


> I already posted this on the bug tracker of OpenSMTPD, but maybe I'm
> doing something wrong in the config and you can help me:
> 
> I'm using OpenSTMPD 6.8 portable and want to filter on DNS names or HELO
> strings with regular expressions. Therefore I created the following
> minified config:
> 

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,

Reply via email to