procmail
[Top] [All Lists]

Re: Event driven and syntax notes for procmail

1997-12-05 00:13:05
Thu 97-12-04 "\"Pheng Lay (IS)\" 
<"<UNKNOWN(_at_)belarus(_dot_)it(_dot_)earthlink(_dot_)net> list.procmail
| Sorry if I sent this message to the wrong address.  I need to know how
| can I make procmail to lauch an application (written in perl to extract
| the attachment in MIME format and process it) so that it will be event
| driven.  Can anybody help me?  

You mean when a MIME message arrives, add suitable condition, here it
catches multipart/mixed

    :0 w                    # Do you want "c"opy, add c here
    * multipart/mixed
    | your-perl-to-handle-the-message

    :0: # if "c" in previous recipe
    SAVE_COPY_HERE

| Another question is where can I get a listing of the syntax for 
| writing/modifying the procmailrc file?

1) man -k procmail
2) Era's procmail FAQ and links
    http://www.iki.fi/~era/procmail/links.html
3) My procmail tips page
    ftp://cs.uta.fi/pub/ssjaaa/pm-tips.html
    (See X-header how to get it from my File Server)

jari    

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