diff options
Diffstat (limited to 'src/kbs.c')
-rw-r--r-- | src/kbs.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -133,6 +133,22 @@ int main(int argc, char *argv[]) int tot=0; int del=0; + if (ConfigInt(CONFIG_DUMPHEADERS)) + { + Log(fp,"---- MESSAGE DUMP ----\n"); + + for(f=0;msg[f].to;f++) + { + Log(fp,"Message %d\n",f+1); + Log(fp,"From %s <%s@%s>\n",msg[f].from, + msg[f].from_uname, + msg[f].from_domain); + Log(fp,"Subject %.40s\n",msg[f].subject); + } + + Log(fp,"---- END MESSAGE DUMP ----\n"); + } + for(f=0;msg[f].to;f++) { tot++; |