There is no need to 'work around this'. When Lawrence says sendmail ignores dots on input, he means they aren't given any special meaning. It doesn't mean they are discarded.
The bigger problem is that this does not completely solve the issues with redirecting mail through sendmail. Another facet of this same issue, as noted earlier today by John Holman, is that exim doesn't react well when passed CRLF through standard in. All of these issues should be addressed by normalizing the message to what sendmail, without '-i' flags and such, expects on input, not trying to coerce sendmail into accepting what cyrus is forcing on it. Only then are you going to have a fighting chance of interoperating with all of the various MTA's which provide sendmail wrapper scripts. Cheers Chris Jeremy Howard wrote: >Lawrence Greenfield wrote: > >>As of Cyrus IMAP 2.1.0, we invoke Sendmail with "sendmail -i", which >>tells it to ignore dots on input. >> >Why? How can we work around that? > >