[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SMTP policy deficiencies



OK, addresses of the form "user@elswhere.com"@my.domain are really
resolved as local and not relayed.

I have another question: you did not include the patch that I sent
for rfc822scan.c - do you think it is not needed?

--- lib/rfc822scan.c    Thu Jul  8 12:06:14 1999
+++ lib/rfc822scan.c.new        Sun Aug  1 05:32:06 1999
@@ -249,7 +249,7 @@
        /* Start and End may be at different tmalloc()ed objects! */
 
        s = cp = (char *)tmalloc(len +1);
-       while (len > 0 && start != cpe) {
+       while (len > 0 && start < cpe) {
                if (*start == 0) {
                  t = t->t_next;
                  start = t->t_pname;
@@ -257,7 +257,7 @@
                  *s++ = '\n';
 #else
                  /* Skip all folding white-space */
-                 while (len > 0 && start != cpe &&
+                 while (len > 0 && start < cpe &&
                         (*start == ' '  || *start == '\t' ||
                          *start == '\n' || *start == '\r'))
                    ++start;