aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c2
-rw-r--r--fetchmail.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 82654676..40601b0a 100644
--- a/driver.c
+++ b/driver.c
@@ -781,9 +781,11 @@ int num; /* index of message */
if (env_offs == -1 && !strncasecmp(ctl->server.envelope,
line,
strlen(ctl->server.envelope)))
+ {
if (skipcount++ != ctl->server.envskip)
continue;
env_offs = (line - headers);
+ }
}
#ifdef HAVE_RES_SEARCH
else if (!received_for && !strncasecmp("Received:", line, 9))
diff --git a/fetchmail.c b/fetchmail.c
index 369e1fd4..c6e3120b 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1061,6 +1061,11 @@ void dump_params (struct query *ctl)
if (ctl->server.envskip > 1 || outlevel >= O_VERBOSE)
printf(" Number of envelope header to be parsed: %d\n",
ctl->server.envskip);
+ if (ctl->server.qvirtual)
+ printf(" Prefix %s will be removed from user id\n",
+ ctl->server.qvirtual);
+ else if (outlevel >= O_VERBOSE)
+ printf(" No prefix stripping\n");
}
if (ctl->server.akalist)