procmail
[Top] [All Lists]

Re: Help a newbie

1996-11-03 19:02:39
    > This one works nicely. :)
    > 
    > :0
    > *^(From|Received).*evil.site.here
    > {
    >     EXITCODE = 77
    >     HOST=metz.une.edu.au
    > :0
    > /dev/null
    > }

It is not necessary to set the "HOST" variable to any specific name,
unless you are trying to make a filter, which exists on multiple
systems, run only on the named system.

The simplest way to clear a variable is to name it:

    :0
    * ^(From|Received).*evil.site
    { EXITCODE=77 HOST }
___________________________________________________________
Alan Stebbens <aks(_at_)sgi(_dot_)com>      http://reality.sgi.com/aks

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