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

David Relson relson at osagesoftware.com
Mon Oct 24 18:34:30 EDT 2005


On Mon, 24 Oct 2005 11:09:49 -0400
Clint Adams wrote:

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

Clint,

Thanks for applying the fix.

Regards,

David


More information about the Bogofilter-dev mailing list