Hi,
following scenario shows that dspam escapes a line with only a single dot but 
not a line that starts with a single dot followed by other characters.

------------ THE TEST MAIL ------------
devloop mails # cat dottest
Delivered-To: [EMAIL PROTECTED]
Return-Path: <>
Received: from XXX.dyndns.org ([::ffff:XXX.XXX.56.118])
by YYY.dyndns.org with esmtp; Sat, 01 Mar 2008 21:28:08 +0100
id 000000000008A21D.0000000047C9BC58.00006BAB
Received: from XXX.dyndns.org ([::ffff:XXX.XXX.56.118])
by YYY.dyndns.org with esmtp; Sat, 01 Mar 2008 21:27:43 +0100
id 000000000008A1A2.0000000047C9BC4F.00006BA5
Received-SPF: none (Address does not pass the Sender Policy Framework)
SPF=HELO; sender=XXX.dyndns.org; remoteip=::ffff:XXX.XXX.56.118;
remotehost=; helo=XXX.dyndns.org; receiver=YYY.dyndns.org;
X-Filtered-By: add_orig_receipient_filter
X-Orig-Receipient: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 01 Mar 2008 21:28:08 +0100
To: undisclosed-recipients: ;

.
.Only one dot, too
------------------------------------------------------------

Notice that there is only one dot in front of all DATA lines. (if you can see 
2 dots then read below ;-) )

------------ THE MAIL RETURNED BY DSPAM ------------
devloop mails 
# /usr/bin/dspam --client --stdout --deliver=spam,innocent --user 
[EMAIL PROTECTED] < dottest
Delivered-To: [EMAIL PROTECTED]
Return-Path: <>
Received: from XXX.dyndns.org ([::ffff:XXX.XXX.56.118])
by YYY.dyndns.org with esmtp; Sat, 01 Mar 2008 21: 28:08 +0100
id 000000000008A21D.0000000047C9BC58.00006BAB:
Received: from XXX.dyndns.org ([::ffff:XXX.XXX.56.118])
by YYY.dyndns.org with esmtp; Sat, 01 Mar 2008 21: 27:43 +0100
id 000000000008A1A2.0000000047C9BC4F.00006BA5:
Received-SPF: none (Address does not pass the Sender Policy Framework)
SPF=HELO; sender=XXX.dyndns.org; remoteip=: :ffff:XXX.XXX.56.118;
remotehost=; helo=XXX.dyndns.org; receiver=YYY.dyndns.org;:
X-Filtered-By: add_orig_receipient_filter
X-Orig-Receipient: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 01 Mar 2008 21:28:08 +0100
To: undisclosed-recipients: ;
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Mar  1 22:01:56 2008
X-DSPAM-Confidence: 0.9949
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 47c9c44454461404967110

..
.Only one dot, too
------------------------------------------------------------

As you can see dspam returns two dots instead one dot in the first DATA line. 
Have I made a mistake or is it a bug?

regards
Daniel

Reply via email to