Hi scott,
While this can be done with php (either with al's suggestion or with any of the freely available mime decoders) i feel you would be better off doing this at a lower level. Since you run an ISP you might be using qmail, there are loads of good suggestions for spam filtering in the qmail lists.


all the best

Scott St. John wrote:

I run a small ISP and am looking at ways to automate grabbing the headers from email. I currently copy all email to a BSD box, then use Pine in header mode to get the IP addresses from which I build my spam filters.

A search did not yield much in what I am trying to do:
1)Open the mailbox and extract the Received, From and Subject headers.
2)Drop those into a database that I can manage from the browser.

Sounds simple enough and I am sure I am making it harder than it really is, but if you know of a project please let me know.

Thanks!

-Scott





--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to