Operating System - HP-UX
1829743 Members
1363 Online
109992 Solutions
New Discussion

Re: A really fun programming project. Operation spamstopper!

 
SOLVED
Go to solution
Karthik S S
Honored Contributor

Re: A really fun programming project. Operation spamstopper!

Hi SEP,

Did you try my script with HP-UX?? Because it worked for me :-(

-Kartihk S S

NP please
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Mark Grant
Honored Contributor

Re: A really fun programming project. Operation spamstopper!

SEP,

Solve the linux "echo" issue by using "echo -e"
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: A really fun programming project. Operation spamstopper!

Mark,

Good one, got yourself a bunny.

Karthik, results were similar. I can't explain it. I'm guessing I'm running against the raw datafile and you're running aginist the output from my original grep command.

I'll be playing with this during the day.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: A really fun programming project. Operation spamstopper!

Here's my anti spam rules.

A good portion comes from:

http://www.visi.com/~hawkeyd/spamfilters.html

Make sure you check them out so you can install it.

The forgeries section is cool - I saw that from someone else...

First for every domain you only want to receive from their servers:

SIsAol
R$* aol.com $* $@ OK
R$* $#error $: "550 Access Denied. Forgeries are disallowed."

Then check it:

SLocal_check_mail

R$* aol.com $* $: $>IsAol $&{client_name}

What that means is, is someone claims to be say geoff@aol.com and the mail server is NOT aol.com - then it rejects them.

I've attached my mc file, my cf file, and my
SpamFilters.subjmaps. I use maildrop instead of procmail for delivery - make sure you edit that line...


Rgds...Geoff




Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: A really fun programming project. Operation spamstopper!

This has got to be one of the all time best ITRC collaborations ever.

Does anyone realize that we could take the configuration that detects forged headers, pump that into the spam account and have a nearly automated spam filter.

Simply awesome.

I laugh at President Bush's spam bill. We have have just solved the problem ourselves.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jordan Bean
Honored Contributor

Re: A really fun programming project. Operation spamstopper!

Hi SEP,

Regarding setting IPB to the netblock, IPB=${IP%.*} (not ${IP%%.*}) should be sufficient in ksh, bash, posix shell, but not in bourne shell.