diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-02-24 01:54:22 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-02-24 01:54:22 +0100 |
commit | c1cf83738a260121cf7dcc007af8709d0bc15419 (patch) | |
tree | 65b087c9056013f75192a81ce573ebb7014c3321 /conf.c | |
parent | 1c10c414e45ccedc8999f7dd95889fce6f6890ff (diff) | |
download | fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.tar.gz fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.tar.bz2 fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.zip |
Feature: bad-header {reject|pass}
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); |