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 diff
     1.1 --- a/src/masqmail.h	Sun Apr 24 19:02:09 2011 +0200
     1.2 +++ b/src/masqmail.h	Sun Apr 24 19:14:38 2011 +0200
     1.3 @@ -183,9 +183,7 @@
     1.4  	GList *local_net_routes;
     1.5  	GList *connect_routes;  /* list of pairs which point to lists */
     1.6  
     1.7 -	gchar *online_detect;
     1.8 -	gchar *online_file;
     1.9 -	gchar *online_pipe;
    1.10 +	gchar *online_query;
    1.11  
    1.12  	gchar *errmsg_file;
    1.13  	gchar *warnmsg_file;
    1.14 @@ -478,8 +476,7 @@
    1.15  gboolean queue_delete(gchar * uid);
    1.16  
    1.17  /* online.c */
    1.18 -gchar *detect_online();
    1.19 -void set_online_name(gchar * name);
    1.20 +gchar *online_query();
    1.21  
    1.22  /* permissions.c */
    1.23  gboolean is_ingroup(uid_t uid, gid_t gid);