En/na martijn.list ha escrit:
However, i have to write a new one in C/C++ and I'm getting some
trouble with the "dot" indicating the "end-of-message". The problem
is that when i send the message back from the filter written in C/C++
anyone can perform a spam injection by sending messages with this
content:
.
MAIL FROM: unremit...@mydomain.com
RCPT TO: vic...@otherdomain.com
DATA
spam spam spam
.
You are probably forgetting to convert the single dot (.) to dot-dot (..)
See RFC 2821 section 4.5.2 Transparency
Martijn Brinkers
Hi,
thanks for your suggestion, I'll give it a try. However, I think that
I've already tried this. As far as I can remember, the problem by
modifying the content of the message was that when a user used some kind
of signature, the checksum wouldn't match and users complain about the
body being altered. Does that make sense to you? Or may be it's only
that my implementation was buggy.
Thanks.