Package: spambayes
Version: 1.0.3-1
Severity: normal

Hi,

I use sb_filter.py to classify mail. If the reading process closes stdin
before the whole mail is read, sb_filter.py complains about a broken
pipe. I call it this way: sb_filter.py mail | grep -q '^X-Spambayes.*spam'

Traceback (most recent call last):
  File "/usr/bin/sb_filter.py", line 257, in ?
    main()
  File "/usr/bin/sb_filter.py", line 254, in main
    sys.stdout.write(result)
IOError: [Errno 32] Broken pipe

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13.1
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages spambayes depends on:
ii  python                        2.3.5-3    An interactive high-level object-o

spambayes recommends no packages.

-- no debconf information

Attachment: pgpUkKnGlpixj.pgp
Description: PGP signature

Reply via email to