Hello!Looks like I solved this problem. Seems like read_stdin() was doing dot-stuffing (at input, of all places) and doing it incorrectly at that (only single dot by itself was stuffed). The attached patches move the stuffing to SMTP client code, and all dots in the beginning of a line are handled.
Best wishes Eugene----- Original Message ----- From: "Eugene" <ge...@geniechka.ru>
To: <dspam-devel@lists.sourceforge.net> Sent: Saturday, February 06, 2010 11:30 PM Subject: [Dspam-devel] dot bug revisited
Hi people! Congratulations on finally getting the 3.9.0 out!I have recently done some checking on the issue of corrupted PDF files and was able to localize it to the problem with dspam (it happens for simple one-line messages as well).It is mentioned in the following message but apparently still not fixed in 3.9.0http://www.mail-archive.com/dspam-...@lists.nuclearelephant.com/msg00291.html(Another relevant thread may be http://www.mail-archive.com/dspam-...@lists.nuclearelephant.com/msg00126.html but the patch from there is included, and the bug works another way around anyway)As far as I understand, the problem is: a single dot alone on the line goes through ok a dot followed by anything else is removedIt seems that a dot in the beginning of a line is not escaped (and in fact I see no code to do the escaping). (To clarify things, I use dspam as postfix smtp-content-filter with smtp delivery, which probably eats up unescaped dots).Any ideas how to correct this? Best wishes Eugene
client.c.diff
Description: Binary data
agent_shared.c.diff
Description: Binary data
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel