procmail
[Top] [All Lists]

Re: How to use variables as the action line?

2006-02-16 04:03:04
Udi Mottelo schreef:
Ruud H.G. van Tol wrote:

    :0
    * old address
    * ? auto-reply saying I no longer use that address
    /dev/null

  I think that if you pass to pipe with no 'f' it will
  make the same, is it true?

    :0
    * old address
    | auto-reply saying I no longer use that address

I think so too.

In procmailrc I found this:

Delivering recipes are those that cause header and/or body of the  mail
to  be:  written  into  a file, absorbed by a program or forwarded to a
mailaddress.

[...]

|      Starts the specified program, possibly in $SHELL if any  of  the
       characters  $SHELLMETAS are spotted.  You can optionally prepend
       this pipe symbol with variable=, which will cause stdout of  the
       program  to  be  captured  in the environment variable (procmail
       will not terminate processing the rcfile at this point).  If you
       specify  just  this pipe symbol, without any program, then proc-
       mail will pipe the mail to stdout.

The 'not terminate processing' is likely for the "variable=|program"
format only.

-- 
Grtz, Ruud


____________________________________________________________
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>