Your message dated Wed, 23 May 2007 01:59:50 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#425637: -m does not make procmail a general purpose
mailfilter
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
signature.asc
Description: Digital signature (GPG/PGP)
--- End Message ---
--- Begin Message ---
On Wed, 23 May 2007, martin f krafft wrote:
> Package: procmail
> Version: 3.22-16
> Severity: normal
>
> The manpage suggests that -m turns procmail into a general-purpose
> filter. [...]
No, it does not. You are thinking about a filter in the *Unix* sense
(i.e. a program which takes data from stdin, outputs to stdout, and
does some processing in between).
The manpage says "mail filter". A "mail filter" is a program which
takes email as input and decides what to do with it: either it's delivered
to a certain mail folder, or it's redirected somewhere, or even it
might disappear.
The manual might have room for improvement, but it should not be misread.
Option -m is mostly useful if you want to create filtering rules for email
in a way which does not interfere with normal email processing as stated
in your .procmailrc file.
--- End Message ---