sess.sendResponse("354 End data with <CR><LF>.<CR><LF>");
InputStream stream = sess.getRawInput();
stream = new BufferedInputStream(stream, BUFFER_SIZE);
stream = new DotTerminatedInputStream(stream);
stream = new DotUnstuffingInputStream(stream);
if (!sess.getServer().getDisableReceivedHeaders())
{
stream = new ReceivedHeaderStream(stream, sess.getHelo(), sess.getRemoteAddress().getAddress(), sess
.getServer().getHostName(), sess.getServer().getSoftwareName(), sess.getSingleRecipient());
}