Added warning log for messages >= 32768 bytes
This commit is contained in:
parent
f1a3a03453
commit
f94f93131f
@ -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
|
||||
|
||||
|
@ -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 (size >= 32768) {
|
||||
if (echomail) {
|
||||
Syslog('-', "Echo area %s from %s subj \"%s\" size %d", msgs.Tag, f->name, subj, size);
|
||||
Syslog('!', "WARNING: 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);
|
||||
Syslog('!', "WARNING: Net from \"%s\" subj \"%s\" size %d", f->name, subj, size);
|
||||
}
|
||||
}
|
||||
|
||||
if (echomail) {
|
||||
|
Reference in New Issue
Block a user