Mercurial > masqmail
diff src/masqmail.h @ 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 | 3e3c280ca5b2 |
children | e230bcd0f1c6 |
line wrap: on
line diff
--- a/src/masqmail.h Sun Apr 24 19:02:09 2011 +0200 +++ b/src/masqmail.h Sun Apr 24 19:14:38 2011 +0200 @@ -183,9 +183,7 @@ GList *local_net_routes; GList *connect_routes; /* list of pairs which point to lists */ - gchar *online_detect; - gchar *online_file; - gchar *online_pipe; + gchar *online_query; gchar *errmsg_file; gchar *warnmsg_file; @@ -478,8 +476,7 @@ gboolean queue_delete(gchar * uid); /* online.c */ -gchar *detect_online(); -void set_online_name(gchar * name); +gchar *online_query(); /* permissions.c */ gboolean is_ingroup(uid_t uid, gid_t gid);