Hello Ken and Stevan,

I've done some investigation and below you can see the offending line in
the original email is line 002. Line 001 and line 003 are for context.
Per Stevan.

001 has low airflow of 92 cfm for exhaust down low which equates to .4
cfm/ft2=
002 .
003 <b>I suggest that this ducting be modified before I return. Another
low duc=


After the message is piped into dspamc it is processed by
'client_process' in the file client.c

Before the message is sent to the daemon '\r' and '.' are added where
necessary.

At this point line 002 is stuffed with a '.' as seen below:

001 has low airflow of 92 cfm for exhaust down low which equates to .4
cfm/ft2=
002 ..
003 <b>I suggest that this ducting be modified before I return. Another
low duc=


The message is then sent to the daemon and received back.

Upon receiving the message back it is truncated after line 001.

When receiving the message back from the daemon, reception of the
returned message terminates on 1 of 2 conditions: 1) A single line with
a '.' or 2) no more data from the daemon. In fact the daemon is removing
the stuffed '.'.

The 'while' loop responsible for terminating reception of the message
from the dspam daemon is coded in the following way: 'while ( line !=
NULL && strcmp (line, ".") )'. I changed this code to 'while ( line !=
NULL /* && strcmp (line, ".") */ )' commenting out termination on the
'.' and received the full message back, line 002 back in its original form:

001 has low airflow of 92 cfm for exhaust down low which equates to .4
cfm/ft2=
002 .
003 <b>I suggest that this ducting be modified before I return. Another
low duc=


Anyway, this is how things stand presently. I'm not sure how the daemon
works but will investigate that as well.

Eric

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to