List Info

Thread: Re: Spamfilter for postfix lmtp.




Re: Spamfilter for postfix lmtp.
country flaguser name
Estonia
2007-06-18 05:31:14
Jon Duggan wrote:
> Out of interest, is dspam delivering directly to
dbmail-lmtpd via lmtp or as
> you passing back to an MTA to deliver to dbmail-lmtpd?

Directly.

> I only ask because  when we were running 2.0.x version
we had terrible
> problems getting dspam to deliver straight into
dbmail-lmtpd, it was
> chopping off the last two bytes of each line IIRC (been
quite a few months
> since i played with this), IIRC dbmail-lmtpd was
expecting rn or so, which
> dspam wasn't sending.

Yes, that was a problem with 2.0.x dbmail, this is not an
issue with 
2.2.x series. But dspam still had a bug in 3.6.8 where it
would loose 
the rn and only output n in the body part. This created
the 
situation, where any line beginning with a dot would be
mangled so that 
you get two dots.

For example if you send a message like:
---
hello
./some/path
bye
---

You would receive:
---
hello
../some/path
bye
---

It's correct behaviour on dbmail's part, but dspam is doing
the wrong 
thing here anyway.

The worst part of this was that PDF files got mangled be
cause Outlook 
is stupid and determines that a file is a binary or text by
only several 
first  bytes of the file. And PDF's start with chars. So
Outlook sends 
PDFs as Quoted Printable.

Anyway, we discovered that after the setup went into
production, 
fortunately there was a patch available from the community.
Here's the 
thread about it with the patch (the patch is a workaround,
not a true 
fix which should change the way the message is handled
internally by dspam):

http://archive.netbsd.se/?ml=dspam-dev&a=2
006-11&m=2536805


And there's a second bug, which depending on your setup
might affect 
you, the thread is here:

http://mailing-list.nuclearelephant.com/index.html#3722

I'll attach both patches, they apply to 3.6.8.

Now I haven't tried dspam 3.8.0, but I didn't see these
issues mentioned 
in the changelog either. So maybe it's all OK now, although
there are 
still some issues with dspam as one can see from the posts
on the 
mailinglists.

Sorry for the offtopic.

HTH,

-- 
Aleksander Kamenik
system administrator
+372 6659 649
aleksanderkrediidiinfo.ee

Krediidiinfo AS
http://www.krediidiinfo.e
e/

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

  
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )