From 12a50ad4e50a90218d8e7db396ee96ab2e44a134 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 29 Jul 1997 02:36:07 +0000 Subject: Received parsing is a special case of Envelope parsing. svn path=/trunk/; revision=1192 --- driver.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 44e2e309..80ad930d 100644 --- a/driver.c +++ b/driver.c @@ -711,7 +711,11 @@ char *realname; /* real name of host */ ctt_offs = (line - headers); #ifdef HAVE_RES_SEARCH - else if (MULTIDROP(ctl) && !received_for && !strncasecmp("Received:", line, 9)) + /* + * The `no envelope' option should also disable parsing of Received + * lines. + */ + else if (MULTIDROP(ctl) && ctl->server.envelope != STRING_DISABLED && !received_for && !strncasecmp("Received:", line, 9)) received_for = parse_received(ctl, line); #endif /* HAVE_RES_SEARCH */ } -- cgit v1.2.3