Mercurial > 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 wrap: on
line diff
--- a/src/masqmail.h Sat Feb 18 11:43:06 2012 +0100 +++ b/src/masqmail.h Sat Feb 18 12:35:12 2012 +0100 @@ -165,6 +165,7 @@ gchar *alias_file; int (*localpartcmp) (const char *, const char *); + gchar *globalias_file; GList *perma_routes; GList *query_routes; /* list of pairs which point to lists */ @@ -331,7 +332,8 @@ /* alias.c*/ gboolean addr_is_local(address *addr); -GList *alias_expand(GList *alias_table, GList *rcpt_list, GList *non_rcpt_list); +GList *alias_expand(GList *alias_table, GList *rcpt_list, GList *non_rcpt_list, + int doglob); /* child.c */ int child(const char *command);