Kuon wrote: > I installed DSPAM as relay (postfix is smtp server, then it write to > LMTP socket, DSPAM filter it and deliver it on another server in SMTP).
This isn't actually enough information. Have you configured dspam as a daemon? Are you using dspam as a content filter in postfix? Do you have signatures in the body or the header? > The problem is simple, all messages are garbled because all > linefeed/carriage return are removed. The message arrives as one single > line. All messages or just multipart/MIME (e.g. HTML) messages? The reason I ask is that I have a configuration which works, using almost exactly the same setup, except that I deliver from dspam back to postfix prior to sending on to another server. I keep meaning to write it up for the wiki, but there is never enough time to do everything... :( There are known problems with the dspam code; it rewrites messages improperly, which shows up as weird line endings in quarantine (CR/LF in headers and LF only in bodies). This message rewriting, even if the signature is configured for the header only, is vary bad design (since it breaks signed messages). The code needs to be rewritten to have different code-paths for SMTP/LMTP and STDOUT/quarantine (since the EOL handling is very different), and the internal message representation should not mess with the original/external representation (which must be preserved at all costs). John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Blvd Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747
