From 586eba081f3b3f73b4027aaf1aa364e166d79ca0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 14 Feb 1997 05:23:30 +0000 Subject: Aded the `received' option. svn path=/trunk/; revision=878 --- fetchmail.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 702e2a67..2522bbf9 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -652,6 +652,7 @@ static int load_params(int argc, char **argv, int optind) DEFAULT(ctl->rewrite, TRUE); DEFAULT(ctl->stripcr, (ctl->mda != (char *)NULL)); DEFAULT(ctl->server.dns, TRUE); + DEFAULT(ctl->server.received, TRUE); #undef DEFAULT /* plug in the semi-standard way of indicating a mail address */ @@ -905,6 +906,9 @@ void dump_params (struct query *ctl) printf(" DNS lookup for multidrop addresses is %sabled.\n", ctl->server.dns ? "en" : "dis", ctl->server.dns ? "off" : "on"); + printf(" Received-line parsing for envelope addresses is %sabled.\n", + ctl->server.received ? "en" : "dis", + ctl->server.received ? "off" : "on"); if (count > 1) printf(" Envelope header is assumed to be: %s\n", ctl->server.envelope); -- cgit v1.2.3