masqmail

diff src/masqmail.h @ 387:a408411ff8df

Added a glob-pattern aliasing facility. One use-case is virtual hosting another catch-all maildrops, but you may use it as a more flexible aliasing mechanism as well.
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 12:35:12 +0100
parents 5781ba87df95
children 5f0829f8e6c7
line diff
     1.1 --- a/src/masqmail.h	Sat Feb 18 11:43:06 2012 +0100
     1.2 +++ b/src/masqmail.h	Sat Feb 18 12:35:12 2012 +0100
     1.3 @@ -165,6 +165,7 @@
     1.4  
     1.5  	gchar *alias_file;
     1.6  	int (*localpartcmp) (const char *, const char *);
     1.7 +	gchar *globalias_file;
     1.8  
     1.9  	GList *perma_routes;
    1.10  	GList *query_routes;  /* list of pairs which point to lists */
    1.11 @@ -331,7 +332,8 @@
    1.12  
    1.13  /* alias.c*/
    1.14  gboolean addr_is_local(address *addr);
    1.15 -GList *alias_expand(GList *alias_table, GList *rcpt_list, GList *non_rcpt_list);
    1.16 +GList *alias_expand(GList *alias_table, GList *rcpt_list, GList *non_rcpt_list,
    1.17 +		int doglob);
    1.18  
    1.19  /* child.c */
    1.20  int child(const char *command);