Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gizmo_mathboy (782)

  reversethis-{moc ... } {yobhtamomzig}

aerospace engineer by education, all-around walking cesspool of knowledge by nature, and professional grade slacker by choice. Sysadmin at a major midwestern university.
Wednesday May 08, 2002
04:37 AM

Bored programming

[ #4747 ]

I finally scratched a minor itch of mine.

I really don't have sufficient access to a mail server to use fun things like Mail::Audit and Spam Assassin (or the time to figure out how to use them in my current situation).

However, I can take advantage of Mozilla's message filters. It ain't nuthin' fancy but it seems to be working.

Basically, I am reading my Spamfilter folder (for email that is probably spam and needs to be added to my rules file) and grabbing the From: line and ripping out that email address. I then add that into the rules.dat file for Mozilla.

Yeah, I know that is not the best way to do that.

I am currently moving spam that isn't caught into the Spamfilter folder by hand. I really need to had a rule that dumps an email there if it doesn't meet any of the rules so far.

Of course, that means I need to create a white list of rules and I haven't written a script to grab the list of addresses from the address book. I can't find much info for the binary format that Mozilla uses in its addressbook. I suppose I could dump it to an ldiff ( LDAP format IIRC ) and then parse it to create my white list. Maybe that will be tonight's ( "around 6pm" project).

In any case, I wrote that and am most of the way through coding up an interface to grabbing billing data from the db and drop it into an email so that it can eventually make it to our accounting books so we can hopefully get bill folks.

I suppose I can hit the hay and get a few hours sleep before the sun gets up.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.