Re: Regex in db table

2021-09-01 Thread mimerunner
Maybe if I had sent you the proper diff it would have worked... Index: table_db.c === RCS file: /cvs/src/usr.sbin/smtpd/table_db.c,v retrieving revision 1.22 diff -u -p -r1.22 table_db.c --- table_db.c 23 Jan 2021 16:11:11 -

Re: Regex in db table

2021-09-01 Thread gilles
September 1, 2021 1:01 PM, mimerun...@gmx.de wrote: >> Care to try the following diff ? >> --- table_db.c.orig.txt 2021-08-28 15:50:28.0 +0200 >> +++ table_db.c 2021-08-28 15:50:10.0 +0200 >> @@ -42,7 +42,9 @@ static char *table_db_get_entry_match(vo >> >> struct table_backend tab

Re: Regex in db table

2021-09-01 Thread mimerunner
Care to try the following diff ? --- table_db.c.orig.txt 2021-08-28 15:50:28.0 +0200 +++ table_db.c 2021-08-28 15:50:10.0 +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_DO

Re: Regex in db table

2021-09-01 Thread mimerunner
Thank you all very much for the suggestions! I didn't know about smtpctl update table .  I'm going to stick with text files for now.