[Mimedefang] spurious "suspicious characters in body" warnings?

David F. Skoll dfs at roaringpenguin.com
Fri Apr 4 08:20:05 EST 2003


On Thu, 3 Apr 2003, James Ralston wrote:

> Ok, I give up.  Where in mimedefang.c is the code that is stripping \r
> and \0 out of the message body?

We don't strip out \0, but look at this snippet:

	for (n=0; n<len; n++, s++) {
	    if (*s == '\r') {
		if (n == len-1) {
		    data->lastWasCR = 1;
		} else if (*(s+1) != '\n') {
		    data->suspiciousBody = 1;
		}
		continue;  /* <--- LOOK CAREFULLY..... */
	    }

--
David.



More information about the MIMEDefang mailing list