procmail
[Top] [All Lists]

Re: How to set a VARIABLE value with a filter

2010-03-13 16:00:12

Am 2010-03-13 09:14:32, schrieb Harry Putnam:
I'm guessing my post just sounded like a bunch of gobbledeegook and
hence the lack of responses to it.

???  --  Do you have read my mail?

 :0 
 * ^From: portage@
 {

     MYVAR=`script_that_collects_those_lines`

The STDOUT of 'script_that_collects_those_lines' is collected in  $MYVAR
becasue the WHOLE message is passed to ANY programs on STDIN  which  are
in the ``.

  :0 fw
   |formail -i "Subject: $MYVAR"
    
  :0
  mailbox
}

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>                 Michelle Konzack
<http://www.can4linux.org/>                   Apt. 917
<http://www.flexray4linux.org/>               50, rue de Soultz
Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de           67100 
Strabourg/France
IRC    #Debian (irc.icq.com)                  Tel. DE: +49 177 9351947
ICQ    #328449886                             Tel. FR: +33  6  61925193
____________________________________________________________
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