procmail
[Top] [All Lists]

Re: fowarding mail

1997-05-30 03:26:00
On Fri, 30 May 97 10:58:09 +0200,
etmnoer(_at_)etm(_dot_)ericsson(_dot_)se (Norbert Erkeland) wrote:
the procmail man-pages i can't figure a way to create a recipe to
check on environment variables values for forwarding mail. Does

    :0
    * HOST ?? ^^bad.host.tld^^
    ! otheraccount(_at_)mail(_dot_)host(_dot_)tld

or perhaps

    :0
    * ! HOST ?? ^^mail.host.tld^^
    {
        EXITCODE=75  # come back later
        HOST
    }

Hope this helps (samma p\xE5 svenska),

/* era */

 $ man procmailrc | colcrt | grep -c "environment *var"
 13

 $ man procmailrc | colcrt | grep -C "environment" | grep -C value

   variablename ??
      Match the remainder against the value  of  this  environment  variable
      (this  cannot be a pseudo variable).  Special cases are `B', `H', `HB'
      and `BH', which merely override the default  header/body  search  area
 --
   your own account.  Deadlocks can be broken by proper use of LOCKTIMEOUT.

   Any default values that procmail has for some  environment  variables  will
   always  override the ones that were already defined.  If you really want to
   override the defaults, you either have to put them in the rcfile or on  the

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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