I've identified a bug in the lmtpd handling of email that has been 'redirect'ed with sieve. When sending the email to the sendmail process, no check is made for lines containing a single period that need to be escaped. The email is just read and pumped to sendmail in a tight loop:
while ((i = prot_read(file, buf, sizeof(buf))) > 0) {
fwrite(buf, i, 1, sm);
}
I've verified this is a bug in 2.0.16, the code in 2.1.1 does not appear
to have been modified in this regard.
Cheers
Chris
