On Mon, Aug 30, 2004 at 04:50:23PM -0300, Bruno Negr�o wrote:
> 
> If I enable the -DDATA_COMPRESS compile option to enable SMTP DATA
> compression on the fly, would the remote server be able to uncompress
> it? How does the remote server know it have to uncompress the DATA
> before delivering it to the user's maildir?

Going through the source of qmail-remote.c for "DATA_COMPRESS" I found
the following:
  #ifdef DATA_COMPRESS
    else if (i+9 < smtptext.len && !case_diffb("DATAZ", 5,
    smtptext.s+i+4))

When you talk to another smtp server and issue a "ehlo localhost"
command you get back a list of what the other server supports.  If it
says "DATAZ" that means qmail-remote.c will use compression.

So try it out with some of your mail servers, telnet to port 25 and
issue that command.

Chris

Reply via email to