fix problem sending to user@domain where "domain" has an entry
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 25 Apr 1995 22:13:06 +0000 (14:13 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 25 Apr 1995 22:13:06 +0000 (14:13 -0800)
but no A or MX records; problem only occurs if it matches as the
last entry in the resolver search list

SCCS-vsn: usr.sbin/sendmail/src/parseaddr.c 8.68
SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.84

usr/src/usr.sbin/sendmail/src/daemon.c
usr/src/usr.sbin/sendmail/src/parseaddr.c

index 68936fe..5e0ee34 100644 (file)
@@ -12,9 +12,9 @@
 
 #ifndef lint
 #ifdef DAEMON
 
 #ifndef lint
 #ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c   8.83 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c   8.84 (Berkeley) %G% (with daemon mode)";
 #else
 #else
-static char sccsid[] = "@(#)daemon.c   8.83 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c   8.84 (Berkeley) %G% (without daemon mode)";
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
@@ -860,6 +860,7 @@ host_map_lookup(map, name, av, statp)
                                break;
 
                          case HOST_NOT_FOUND:
                                break;
 
                          case HOST_NOT_FOUND:
+                         case NO_DATA:
                                *statp = EX_NOHOST;
                                break;
 
                                *statp = EX_NOHOST;
                                break;
 
index 0c3e5da..e0db329 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)parseaddr.c        8.67 (Berkeley) %G%";
+static char sccsid[] = "@(#)parseaddr.c        8.68 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "sendmail.h"
 #endif /* not lint */
 
 #include "sendmail.h"