Package: procmail
Version: 3.22-16
Severity: normal

The manpage suggests that -m turns procmail into a general-purpose
filter. Thus, the following rather surprises me:

  piper:~> cat cat
  :0 f
  |/bin/cat
  piper:~> echo test | procmail -m VERBOSE=yes cat | wc -l
  procmail: [23799] Wed May 23 00:53:22 2007
  procmail: Assigning "MAILDIR=."
  procmail: Rcfile: "cat"
  procmail: Executing "/bin/cat"
  Folder: **Bounced** 
  0

If I leave the rcfile empty, I get $?=73. Removing the f flag makes
no real difference:

  piper:~> echo test | procmail -m VERBOSE=yes cat | wc -l
  procmail: [23791] Wed May 23 00:53:06 2007
  procmail: Assigning "MAILDIR=."
  procmail: Rcfile: "cat"
  procmail: Executing "/bin/cat"
  procmail: Assigning "LASTFOLDER=/bin/cat"
  Folder: /bin/cat
  0

Either the software is buggy or the documentation off. I suspect
both. :)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages procmail depends on:
ii  libc6                         2.5-7      GNU C Library: Shared libraries

Versions of packages procmail recommends:
ii  postfix [mail-transport-agent 2.4.0-3    A high-performance mail transport 

-- no debconf information

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to