procmail
[Top] [All Lists]

If else in recipie

2000-03-25 11:11:11
Hi all, 
Can someone tell me if my syntax is correct please.
What I am trying to acheive is this....

IF (from known address) 
   AND (NOT from a daemon) 
   AND (NOT from my autoresponders) 
   AND (Subject contains "registration text" anywhere on line)
CALL ONLY *ONE* of the three autoresponders.

:0 c: registration.lock
* ^From(_dot_)*known(_at_)domain(_dot_)com
* !^FROM_DAEMON
* !^X-Loop: autoresponder(_at_)bscuk(_dot_)com
* ^Subject.*registration text
{
  :0
  * ^Subject:(\t|\s)*Java Outline Applet
  |/home/bscuk/autoresponder/replytooutline.pl

  :0 E
  * ^Subject:(\t|\s)*BSC3DView
  |/home/bscuk/autoresponder/replyto3dview.pl

  :0 E
  * ^Subject:(\t|\s)*Keyboard TrueType Font
  |/home/bscuk/autoresponder/replytokeyboard.pl
}

Thanks
Simon
   ____        _            ____  _             _                      
  | __ ) _   _| |_ ___     / ___|(_)_______  __| |  ___ ___  _ __ ___  
  |  _ \| | | | __/ _ \____\___ \| |_  / _ \/ _` | / __/ _ \| '_ ` _ \ 
  | |_) | |_| | ||  __/_____|__) | |/ /  __/ (_| || (_| (_) | | | | | |
  |____/ \__, |\__\___|    |____/|_/___\___|\__,_(_)___\___/|_| |_| |_|
         |___/                                                         
E-Mail : Simon(_at_)Byte-Sized(_dot_)com           Web : 
http://www.Byte-Sized.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  



<Prev in Thread] Current Thread [Next in Thread>
  • If else in recipie, Simon Daykin <=