diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-06-29 21:32:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-06-29 21:32:04 +0000 |
commit | 39dad9fd52a64da0efefce1d0909426de888260b (patch) | |
tree | 95bc1ad85730772c104416392978b3f2fcace837 /fetchmail.c | |
parent | d6afd2b946236ebc02d65f14829c6b715dd7c265 (diff) | |
download | fetchmail-39dad9fd52a64da0efefce1d0909426de888260b.tar.gz fetchmail-39dad9fd52a64da0efefce1d0909426de888260b.tar.bz2 fetchmail-39dad9fd52a64da0efefce1d0909426de888260b.zip |
Enrico Musio's IP-checkalias patch.
svn path=/trunk/; revision=1944
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index a90c833b..a15a5328 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -733,6 +733,7 @@ static void optmerge(struct query *h2, struct query *h1, int force) FLAG_MERGE(server.qvirtual); FLAG_MERGE(server.skip); FLAG_MERGE(server.dns); + FLAG_MERGE(server.checkalias); FLAG_MERGE(server.uidl); #ifdef linux @@ -893,6 +894,7 @@ static int load_params(int argc, char **argv, int optind) DEFAULT(ctl->mimedecode, FALSE); DEFAULT(ctl->server.dns, TRUE); DEFAULT(ctl->server.uidl, FALSE); + DEFAULT(ctl->server.checkalias, FALSE); #undef DEFAULT #if !defined(HAVE_GETHOSTBYNAME) || !defined(HAVE_RES_SEARCH) @@ -1335,7 +1337,14 @@ void dump_params (struct runctl *runp, struct query *querylist, flag implicit) { printf(" DNS lookup for multidrop addresses is %sabled.\n", ctl->server.dns ? "en" : "dis"); - + if (ctl->server.dns) + { + printf(" Server aliases will be compared with multidrop addresses by "); + if (ctl->server.checkalias) + printf("IP address."); + else + printf("name."); + } if (ctl->server.envelope == STRING_DISABLED) printf(" Envelope-address routing is disabled\n"); else |