From fe9a285faea551a9eb544562b85f982e68cdebf1 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 8 Feb 2002 21:00:22 +0000 Subject: [PATCH] Addition to experimental ftn2rfc fix --- mbfido/ftn2rfc.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/mbfido/ftn2rfc.c b/mbfido/ftn2rfc.c index 3923d024..435a2e53 100644 --- a/mbfido/ftn2rfc.c +++ b/mbfido/ftn2rfc.c @@ -900,20 +900,22 @@ int ftn2rfc(faddr *f, faddr *t, char *subj, char *origline, time_t mdate, int fl } else { /* if newsmode */ now = time(NULL); - if (CFG.EmailMode == E_NOISP) { - /* - * Probaly not needed as messages for systems without ISP never get here. - * Perhaps only news to moderators. - */ - Syslog('m', "We should not be here"); - sprintf(temp, "From %s!%s %s", ascinode(f,0x3f), ascinode(f,0x40), ctime(&mdate)); - Send(FALSE, temp); - } +// if (CFG.EmailMode == E_NOISP) { +// /* +// * Probaly not needed as messages for systems without ISP never get here. +// * Perhaps only news to moderators. +// */ +// Syslog('m', "We should not be here"); +// sprintf(temp, "From %s!%s %s", ascinode(f,0x3f), ascinode(f,0x40), ctime(&mdate)); +// Send(FALSE, temp); +// } Syslog('m', "Should send Received: header for mbfido"); - sprintf(temp, "Received: from %s by %s\n", ascinode(f,0x3f), ascinode(bestaka,0x3f)); + sprintf(temp, "Received: from %s\n", ascinode(f, 0x3f)); Send(FALSE, temp); - sprintf(temp, "\twith FTN (mbfido v.%s) id AA%u; %s\n", VERSION, getpid(), rfcdate(now)); + sprintf(temp, "\tby %s with FTN (mbfido v.%s) id AA%u\n", ascinode(bestaka,0x3f), VERSION, getpid()); + Send(FALSE, temp); + sprintf(temp, "\t%s\n", rfcdate(now)); Send(FALSE, temp); Syslog('m', "Is done now");