diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-02-14 05:23:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-02-14 05:23:30 +0000 |
commit | 586eba081f3b3f73b4027aaf1aa364e166d79ca0 (patch) | |
tree | f91179ef14e114bc1dc15ade66466d65e0d31671 /fetchmail.c | |
parent | 4493b87ecf93c8a2e8c947fd2eb7c503ee347c88 (diff) | |
download | fetchmail-586eba081f3b3f73b4027aaf1aa364e166d79ca0.tar.gz fetchmail-586eba081f3b3f73b4027aaf1aa364e166d79ca0.tar.bz2 fetchmail-586eba081f3b3f73b4027aaf1aa364e166d79ca0.zip |
Aded the `received' option.
svn path=/trunk/; revision=878
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |