changeset 91:ca46fafc6621

dcc_to should not look at substitute mail_host
author carl
date Sun, 18 Sep 2005 10:46:31 -0700
parents 962a1f8f1d9f
children 505e77188317
files ChangeLog src/context.cpp
diffstat 2 files changed, 14 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Sep 18 10:19:58 2005 -0700
+++ b/ChangeLog	Sun Sep 18 10:46:31 2005 -0700
@@ -7,6 +7,9 @@
     Authenticated clients are now exempt from all white/black listing
     in addition to the dnsbl lookups.
 
+    dcc_to should not look at substitute mail_host. That is only used
+    by dcc_from.
+
 5.3 2005-08-07
     Properly quit if the config file has syntax errors on startup.  Send
     mail to root if the config file needs to be reloaded since it was
--- a/src/context.cpp	Sun Sep 18 10:19:58 2005 -0700
+++ b/src/context.cpp	Sun Sep 18 10:46:31 2005 -0700
@@ -968,17 +968,17 @@
 						}
 					}
 				}
-				else if (have == token_substitute) {
-					if (tok.next() == token_mailhost) {
-						have = tok.next();
-						if (keeping) {
-							if (me.allow_env_to(have)) {
-								me.add_to(have);
-								dc.add_to(have, &me);
-							}
-						}
-					}
-				}
+			  //else if (have == token_substitute) {
+			  //	if (tok.next() == token_mailhost) {
+			  //		have = tok.next();
+			  //		if (keeping) {
+			  //			if (me.allow_env_to(have)) {
+			  //				me.add_to(have);
+			  //				dc.add_to(have, &me);
+			  //			}
+			  //		}
+			  //	}
+			  //}
 				tok.skipeol();
 			}
 		}