Re: dot bug revisited

Thiago Damas <[email protected]>
Newsgroups gmane.mail.spam.dspam.devel
Message-ID <[email protected]>
  Recently, I had the same problem with DSPAM 3.9.0, and after
applying this patch, everthing was back to the normal.
  Its imported into newer versions of dspam?

Thiago

2010/2/9 Eugene <[email protected]>:
> 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" <[email protected]>
> To: <[email protected]>
> 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.0
>>
>> http://www.mail-archive.com/[email protected]/msg00291.html
>> (Another relevant thread may be
>> http://www.mail-archive.com/[email protected]/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 removed
>>
>> It 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
>>
>>
>>
>>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspam-devel
>
>

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.