procmail
[Top] [All Lists]

Re: Emacs and Linting procmail code with tinypm.el v1.21

1997-10-24 01:06:41
era eriksson writes on 23 October 1997 at 21:03:52
Like I said in a different message, I would never actively promote an
i flag other than when the user sees unwanted warnings in the log file
(and even then, how do you know they're unwanted?)

I had such messages showing up in my LOG file at one time because of
not using the "i" flag; now I have the following in my ~/.procmailrc
  # let procmail do the work of pitching the headers, reduce the
  # current message body to just $N lines
  #
  # Here's why the 'i' flag is needed (courtesy of Stephan):
  # You told procmail to filter the entire mail (header and body), so it
  # does and it attempts to write out header and body to the filter.
  # Then procmail notices that not the entire body is being consumed.
  # Procmail, being rather paranoid when it comes to delivery of mail
  # assumes something went wrong and considers this a failure of the filter.
  :0wifb
  | head -$N

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        
http://www.bristol.com/~DanS
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, The Netherlands               {info,jobs}(_at_)bristol(_dot_)com