From c1cf83738a260121cf7dcc007af8709d0bc15419 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 24 Feb 2010 01:54:22 +0100 Subject: Feature: bad-header {reject|pass} --- conf.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'conf.c') 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); -- cgit v1.2.3