aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-02 16:25:09 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-02 16:25:09 +0000
commit4ee8d22351243e9a79bb40f181786e5650abae47 (patch)
treefdea4ac21bbe7f5c248a6085645069994c64621e /fetchmail.c
parente98f220bcfa290b355c724b62b4c8c3c15da8e9c (diff)
downloadfetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.tar.gz
fetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.tar.bz2
fetchmail-4ee8d22351243e9a79bb40f181786e5650abae47.zip
Added plugin/plugout option.
svn path=/trunk/; revision=2168
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 75b9d573..ef40f0b9 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -759,6 +759,8 @@ static void optmerge(struct query *h2, struct query *h1, int force)
FLAG_MERGE(server.interface_pair);
#endif /* linux */
+ FLAG_MERGE(server.plugin);
+ FLAG_MERGE(server.plugout);
FLAG_MERGE(wildcard);
FLAG_MERGE(remotename);
FLAG_MERGE(password);
@@ -1491,6 +1493,15 @@ void dump_params (struct runctl *runp, struct query *querylist, flag implicit)
printf(" No monitor interface specified.\n");
#endif
+ if (ctl->server.plugin)
+ printf(" Server connections will be mode via plugin %s (--plugin %s).\n", ctl->server.plugin, ctl->server.plugin);
+ else if (outlevel >= O_VERBOSE)
+ printf(" No plugin command specified.\n");
+ if (ctl->server.plugout)
+ printf(" Listener connections will be mode via plugout %s (--plugout %s).\n", ctl->server.plugout, ctl->server.plugout);
+ else if (outlevel >= O_VERBOSE)
+ printf(" No plugout command specified.\n");
+
if (ctl->server.protocol > P_POP2 && (ctl->server.protocol != P_ETRN))
if (!ctl->oldsaved)
printf(" No UIDs saved from this host.\n");