[[email protected]: Bug#334854: bogofilter-common: Postfix script causes some mails to truncate]

Clint Adams <[email protected]> Mon, 24 Oct 2005 11:09:49 -0400
Newsgroups gmane.mail.bogofilter.devel
Message-ID <[email protected]>
----- Forwarded message from Mariusz Kruk <[email protected]> -----

The package includes a document describing integration with postfix as a
filter (/usr/share/doc/bogofilter-common/integrating-with-postfix).
The script included there should be run as a filter by postfix' smtpd.
The problem is, the script gets the mail already decoded, and reinserts
it into /usr/sbin/sendmail the same unencoded way. This way if there are
lines consisting of a single dot, the mail gets truncated, because
/usr/sbin/sendmail reads it as end of the message.
The solution to it is to change
POSTFIX=/usr/sbin/sendmail
to
POSTFIX="/usr/sbin/sendmail -i"

----- End forwarded message -----
_______________________________________________
Bogofilter-dev mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev