masqmail
diff src/conf.c @ 310:f10a56dc7481
reworked online_detect to the simpler online_query
Only pipe is supported now. Use
online_query="/bin/cat /path/to/file"
instead of
online_detect=file
online_file=/path/to/file
and
online_query="/path/to/some/script foo"
instead of
online_detect=pipe
online_pipe="/path/to/some/script foo"
See man page masqmail.conf(5) and admin/config-transition.
author | meillo@marmaro.de |
---|---|
date | Sun, 24 Apr 2011 19:14:38 +0200 |
parents | e0de950ed497 |
children | e230bcd0f1c6 |
line diff
1.1 --- a/src/conf.c Sun Apr 24 19:02:09 2011 +0200 1.2 +++ b/src/conf.c Sun Apr 24 19:14:38 2011 +0200 1.3 @@ -542,12 +542,8 @@ 1.4 conf.connect_routes = g_list_append(conf.connect_routes, pair); 1.5 } else if (strcmp(lval, "local_net_route") == 0) { 1.6 conf.local_net_routes = parse_list(rval, FALSE); 1.7 - } else if (strcmp(lval, "online_detect") == 0) 1.8 - conf.online_detect = g_strdup(rval); 1.9 - else if (strcmp(lval, "online_file") == 0) 1.10 - conf.online_file = g_strdup(rval); 1.11 - else if (strcmp(lval, "online_pipe") == 0) 1.12 - conf.online_pipe = g_strdup(rval); 1.13 + } else if (strcmp(lval, "online_query") == 0) 1.14 + conf.online_query = g_strdup(rval); 1.15 else if (strcmp(lval, "do_queue") == 0) 1.16 conf.do_queue = parse_boolean(rval); 1.17 else if (strcmp(lval, "errmsg_file") == 0)