aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index a3a734be..ebb2b899 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -533,7 +533,6 @@ static int load_params(int argc, char **argv, int optind)
}
/* similarly, compute server leaders for queries */
- ctl->aka = (struct idlist *)NULL;
for (mp = querylist; mp && mp != ctl; mp = mp->next)
if (strcmp(mp->servername, ctl->servername) == 0)
{
@@ -676,6 +675,15 @@ void dump_params (struct query *ctl)
if (ctl->canonical_name)
printf(" Canonical DNS name of server is %s.\n", ctl->canonical_name);
#endif /* HAVE_GETHOSTBYNAME */
+ if (ctl->aka)
+ {
+ struct idlist *idp;
+
+ printf(" Predeclared mailserver aliases:");
+ for (idp = ctl->aka; idp; idp = idp->next)
+ printf(" %s", idp->id);
+ putchar('\n');
+ }
if (ctl->skip || outlevel == O_VERBOSE)
printf(" This host will%s be queried when no host is specified.\n",
ctl->skip ? " not" : "");