procmail
[Top] [All Lists]

Re: script

1996-09-25 18:55:36
At 07:33 PM 9/25/96 -0500, yan(_at_)ns1(_dot_)wwisp(_dot_)com elucidated thus:

hey guys:
      What do I need to do in procmail, so that everything I got from 
news(_at_)mci(_dot_)com got forwarded to say admin(_at_)wwisp(_dot_)com? I 
know this must be 
very simple, but I am a newbie. :(

[snip - mighty impressive .sig.  It'd be less annoying if you removed the
five leading and four trailing blank lines though].

This is a simple one:

:0
* ^From(_dot_)news(_at_)mci(_dot_)com
! admin(_at_)wwisp(_dot_)com

This of course forwards that mail, and YOU don't keep a copy.  If you also
want to keep a copy, do this instead:

:0c
* ^From(_dot_)news(_at_)mci(_dot_)com
! admin(_at_)wwisp(_dot_)com

:A
some_mail_archive_file

(or eliminate the second-part recipe, which should just allow the message to
also be processed by any remaining recipes you have instead of placing it in
a mailbox file).

NetCruisers:  http://www.professional.org/pse/
Home of NCUtil, 3rd-party utility links (including Winsock), and FAQs!

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395
 Internet: PSE(_at_)professional(_dot_)org     CompuServe: 72210,521

<Prev in Thread] Current Thread [Next in Thread>
  • script, yan
    • Re: script, Professional Software Engineering <=