Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to stop spam

Status
Not open for further replies.

JamesCliff

Programmer
Feb 16, 2005
106
0
0
GB
Hi all,

I am running a red hat linux 9 in console mode for my server. I have kernel 2.6.18.1 which works great.

However i have one problem, and thats with my email server. I am using sendmail to run multiple email acounts on my server for different users. However the client accounts are been spammed with upto 8 emails a day about pills, and enlargement tools etc etc etc.

Basiclly what i am woundering is......... Is it possible to construct a script that holds certain words, and if any emails come to sendmail that contain one of these words the server disregards it? If it is possible to make something like this, how would i go about it?

Or is this not the best way of doing it? What other methods are there to stop spam like this?

Thanks for your time.

Jim
 
try installing Mailscanner and SPAM Assassin.

that helps a lot, you can even scan the mails for viruses.

you can download tar fileas and instalation procedures are available there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top