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 /transact.c | |
parent | 1c10c414e45ccedc8999f7dd95889fce6f6890ff (diff) | |
download | fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.tar.gz fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.tar.bz2 fetchmail-c1cf83738a260121cf7dcc007af8709d0bc15419.zip |
Feature: bad-header {reject|pass}
Diffstat (limited to 'transact.c')
-rw-r--r-- | transact.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -583,7 +583,10 @@ eoh: * message/rfc822 attachment and forward to postmaster (Rob * MacGregor) */ - if (!refuse_mail && !isspace((unsigned char)line[0]) && !strchr(line, ':')) + if (!refuse_mail + && !ctl->server.badheader == BHPASS + && !isspace((unsigned char)line[0]) + && !strchr(line, ':')) { if (linelen != strlen (line)) has_nuls = TRUE; |