diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-10-13 21:11:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-10-13 21:11:33 +0000 |
commit | 5480ab320b813bddefe7383582c45b88bec00013 (patch) | |
tree | bdef3e4ea6f663efc97a68830cefe85683039fae /fetchmail.c | |
parent | c868890caebd7a1408665c7799864b08be0a4021 (diff) | |
download | fetchmail-5480ab320b813bddefe7383582c45b88bec00013.tar.gz fetchmail-5480ab320b813bddefe7383582c45b88bec00013.tar.bz2 fetchmail-5480ab320b813bddefe7383582c45b88bec00013.zip |
Added envelope-skip feature.
svn path=/trunk/; revision=1509
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index f70d2d71..66c4331a 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -568,6 +568,7 @@ static int load_params(int argc, char **argv, int optind) save_str(&def_opts.smtphunt, FALSE, fetchmailhost); save_str(&def_opts.smtphunt, FALSE, "localhost"); def_opts.expunge = 1; + def_opts.server.envskip = 0; /* this builds the host list */ if (prc_parse_file(rcfile, !versioninfo) != 0) @@ -1044,8 +1045,13 @@ void dump_params (struct query *ctl) if (ctl->server.envelope == STRING_DISABLED) printf(" Envelope-address routing is disabled\n"); else + { printf(" Envelope header is assumed to be: %s\n", ctl->server.envelope ? ctl->server.envelope:"Received"); + if (ctl->server.envskip > 1 || outlevel >= O_VERBOSE) + printf(" Number of envelope header to be parsed: %d\n", + ctl->server.envskip); + } if (ctl->server.akalist) { |