procmail
[Top] [All Lists]

Re: Mail body

1997-12-10 08:47:50
Marco Pirovano asked,

| I want to use procmail to do a simple filter:
| 
| if {in the body of the mail there is "students.uni-bocconi.it" purge the mail}
| else { send the mail to a specific address}
| 
| Do I nedd to use same script in perl or other, or can I do it with 
| procmail commmands ?

Procmail can handle it just fine without help:

  :0B
  * students\.uni-bocconi\.it
  /dev/null

  :0
  ! that-other-address

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