procmail
[Top] [All Lists]

Re: Why doesn't this recipe work? (123)

1997-11-26 15:55:06
On Wed, 26 Nov 1997, Nick Halloway wrote:
:0 
* ^Subject:.*Guidelines
* ^From:(_dot_)*laura(_at_)(_dot_)*mbi(_dot_)ucla(_dot_)edu
| cat >junk.mail 

Why not...
:0 
* ^Subject:.*Guidelines
* ^From:(_dot_)*laura(_at_)(_dot_)*mbi(_dot_)ucla(_dot_)edu
junk.mail 


What I really want to do with the mail is this:
|/usr/local/bin/formail -k -X Subject: -X Newsgroups: |inews

Try fully qualifying things as I have had problems with that in the past.

FORMAIL=/usr/local/bin/formail
NEWS=/path/to/inews

| $FORMAIL -k -X"Subject:" -X"Newsgroups:" >>$NEWS


============================================================================
- Liston Bias                       We are here on earth to do good 
  Alumnus of Oklahoma State Univ    to others.......  
  Alumnus of Florida State Univ     What the others are here for, 
                                    I do not know.
  bias(_at_)pobox(_dot_)com                                     -- W. H. Auden
  http://www.pobox.com/~bias
============================================================================