aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 60eb3ebb..5b5d8779 100644
--- a/conf.c
+++ b/conf.c
@@ -312,6 +312,13 @@ void dump_config(struct runctl *runp, struct query *querylist)
if (ctl->server.esmtp_password)
stringdump("esmtppassword",ctl->server.esmtp_password);
booldump("tracepolls", ctl->server.tracepolls);
+ indent(0);
+ switch(ctl->server.badheader) {
+ /* this is a hack - we map this to a boolean option for
+ * fetchmailconf purposes */
+ case BHREJECT: puts("'badheader': FALSE,"); break;
+ case BHPASS: puts("'badheader': TRUE,"); break;
+ }
indent(0);
fputs("'users': ", stdout);