procmail
[Top] [All Lists]

Re: catching x-Advert headers

1997-09-17 09:36:19
You'd check for X-Advertisement, the same way you would check for any
header,

:0
* ^X-Advertisement
folder 

If you're trying to filter out spam, you may also want to filter X-UIDL
headers

:0
* ^(X-Advertisement|X-UIDL)
/dev/null/

-Aaron Dougherty
 Sim Master
 Star Wars Simulation
 mailto:webmaster(_at_)swsim(_dot_)com
 http://www.swsim.com

On Wed, 17 Sep 1997, Chuck Campbell wrote:

How does one go about catching X-Advertisement: headers in an email?

My use is strictly related to TO and FROM recipies at this point in
time.  Do the TO and FROM recipies scan all headers for an arbitrary string?

Feel free to just point me at the appropriate document.  All I've found
at my ISP so far is the example procmailrc man page.

thanks,
-chuck

-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
1980 Post Oak Blvd. |   and Integrated Interpretation   |  1(713)960-1157 fax
    Suite 2050      |                                   |
 Houston, TX, 77056 |          Chuck Campbell           | 
campbell(_at_)neosoft(_dot_)com
                    |  President & Senior Geoscientist  |

     "Integration means more than having all the maps at the same scale!"


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