procmail
[Top] [All Lists]

Re: making procmail skip the current included file

2005-04-22 01:14:20
On Don, 21 Apr 2005, David W. Tamkin wrote:
main procmailrc file, something likea GOTO END which jumps to the end of
the current file.

Unset SWITCHRC, like this:

  SWITCHRC

Oh, thanks, haven't seen this before. So the following would `jump to
the end', i.e. stop processing the current file and continue at the
parent file if PASSTHROUGH=ON :

:0
* some conditions
  {
  :0fhw
  | formail -A "foobar header"

  :0
  * PASSTHROUGH ?? ON
  { SWITCHRC }

  :0:
  # we are not in passthrough mode, deliver to mbox
  $foobar/bla
  }

Correct?

Thanks a lot and best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining(_at_)at43(_dot_)tuwien(_dot_)ac(_dot_)at                           
  +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
NAD (n.)
Measure defined as the distance between a driver's outstretched
fingertips and the ticket machine in an automatic car-park. 1 nad =
18.4 cm.
                        --- Douglas Adams, The Meaning of Liff

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


<Prev in Thread] Current Thread [Next in Thread>