From 39dad9fd52a64da0efefce1d0909426de888260b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 29 Jun 1998 21:32:04 +0000 Subject: Enrico Musio's IP-checkalias patch. svn path=/trunk/; revision=1944 --- fetchmail.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'fetchmail.c') 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 -- cgit v1.2.3