[kruk at epsilon.eu.org: Bug#334854: bogofilter-common: Postfix script causes some mails to truncate]

Clint Adams schizo at debian.org
Mon Oct 24 17:09:49 CEST 2005


----- Forwarded message from Mariusz Kruk <kruk at epsilon.eu.org> -----

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 -----



More information about the bogofilter-dev mailing list