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 wrap: on
line diff
--- a/src/deliver.c	Wed Feb 29 18:14:32 2012 +0100
+++ b/src/deliver.c	Wed Feb 29 18:16:50 2012 +0100
@@ -895,6 +895,8 @@
 		}
 		if (globalias_table) {
 			GList *globaliased_rcpt_list;
+
+			DEBUG(5) debugf("Doing globalias expansion\n");
 			globaliased_rcpt_list = alias_expand(globalias_table,
 					rcpt_list,
 					msgout->msg->non_rcpt_list, 1);
@@ -903,6 +905,8 @@
 		}
 		if (alias_table) {
 			GList *aliased_rcpt_list;
+
+			DEBUG(5) debugf("Doing alias expansion\n");
 			aliased_rcpt_list = alias_expand(alias_table,
 					rcpt_list,
 					msgout->msg->non_rcpt_list, 0);
--- a/src/masqmail.h	Wed Feb 29 18:14:32 2012 +0100
+++ b/src/masqmail.h	Wed Feb 29 18:16:50 2012 +0100
@@ -54,9 +54,9 @@
 #define ADDR_FLAG_LAST_ROUTE 0x40
 
 typedef struct _address {
-	gchar *address;
-	gchar *local_part;
-	gchar *domain;
+	gchar *address;  /* full addr string: `markus <meillo@marmaro.de>' */
+	gchar *local_part;  /* in this example: `meillo' */
+	gchar *domain;  /* in this example: `marmaro.de' */
 	gint flags;
 	GList *children;
 	struct _address *parent;