Bernhard Erdmann wrote:

I'm not convinced that this is being caused by Cyrus. Here a snippit of the code which produces the vacation response. As you can see, there is no extra CRLF after the Message-ID (or before Date).


t = time(NULL); p = getpid(); snprintf(outmsgid, sizeof(outmsgid), "<[EMAIL PROTECTED]>", (int) p, (int) t, global_outgoing_count++, config_servername);

fprintf(sm, "Message-ID: %s\r\n", outmsgid);

    rfc822date_gen(datestr, sizeof(datestr), t);
    fprintf(sm, "Date: %s\r\n", datestr);



Hi Ken,


if datestr should begin with crlf or if outmsgid should end with crlf, there would be the possibility of an extra blank line.

It doesn't matter if datestr starts with CRLF, since "Date:" is in front of it. outmsgid clearly ends with ">".


--
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp



Reply via email to