masqmail
changeset 417:8fedb93e9b72
Added comments and debug messages.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 29 Feb 2012 18:16:50 +0100 |
parents | ddac877ced95 |
children | 4cbaf6d6793f |
files | src/deliver.c src/masqmail.h |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/src/deliver.c Wed Feb 29 18:14:32 2012 +0100 1.2 +++ b/src/deliver.c Wed Feb 29 18:16:50 2012 +0100 1.3 @@ -895,6 +895,8 @@ 1.4 } 1.5 if (globalias_table) { 1.6 GList *globaliased_rcpt_list; 1.7 + 1.8 + DEBUG(5) debugf("Doing globalias expansion\n"); 1.9 globaliased_rcpt_list = alias_expand(globalias_table, 1.10 rcpt_list, 1.11 msgout->msg->non_rcpt_list, 1); 1.12 @@ -903,6 +905,8 @@ 1.13 } 1.14 if (alias_table) { 1.15 GList *aliased_rcpt_list; 1.16 + 1.17 + DEBUG(5) debugf("Doing alias expansion\n"); 1.18 aliased_rcpt_list = alias_expand(alias_table, 1.19 rcpt_list, 1.20 msgout->msg->non_rcpt_list, 0);
2.1 --- a/src/masqmail.h Wed Feb 29 18:14:32 2012 +0100 2.2 +++ b/src/masqmail.h Wed Feb 29 18:16:50 2012 +0100 2.3 @@ -54,9 +54,9 @@ 2.4 #define ADDR_FLAG_LAST_ROUTE 0x40 2.5 2.6 typedef struct _address { 2.7 - gchar *address; 2.8 - gchar *local_part; 2.9 - gchar *domain; 2.10 + gchar *address; /* full addr string: `markus <meillo@marmaro.de>' */ 2.11 + gchar *local_part; /* in this example: `meillo' */ 2.12 + gchar *domain; /* in this example: `marmaro.de' */ 2.13 gint flags; 2.14 GList *children; 2.15 struct _address *parent;