diff --git a/ChangeLog b/ChangeLog index b1af8516..5698f3d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ v0.83.20 27-May-2006 Check for stopped tasks reverted to the old method without signal handlers. + mbfido: + Added warning log for messages >= 32768 bytes. + v0.83.19 23-May-2006 - 27-May-2006 diff --git a/mbfido/tosspkt.c b/mbfido/tosspkt.c index d01fee7c..5c0e61d1 100644 --- a/mbfido/tosspkt.c +++ b/mbfido/tosspkt.c @@ -221,10 +221,12 @@ int importmsg(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t FirstLine = FALSE; } /* end of checking kludges */ - if (echomail) { - Syslog('-', "Echo area %s from %s subj \"%s\" size %d", msgs.Tag, f->name, subj, size); - } else { - Syslog('-', "Net from %s subj \"%s\" size %d", f->name, subj, size); + if (size >= 32768) { + if (echomail) { + Syslog('!', "WARNING: Echo area %s from \"%s\" subj \"%s\" size %d", msgs.Tag, f->name, subj, size); + } else { + Syslog('!', "WARNING: Net from \"%s\" subj \"%s\" size %d", f->name, subj, size); + } } if (echomail) {