Delivery: same-host checking for transport runs should include port from address...
[exim.git] / src / src / deliver.c
index eae675753c5c7152b08a6cb1b1588b1729621b02..24e4d2b63684b5b388bf587e4d3c9b2d37aad322 100644 (file)
@@ -446,6 +446,10 @@ while (one && two)
     two = end_two;
     }
 
+  /* if the names matched but ports do not, mismatch */
+  else if (one->port != two->port)
+    return FALSE;
+
   /* Hosts matched */
 
   one = one->next;