divakaran rearranged electrons thusly:

>  I have set up a mail server using redhat 6.1, sendmail ver 8.9.3/8.8.7
> My problem is that when i see the maillog. .. i see that people are using
> this mail server as a mail relay and are using them for spamming.

Take a look at http://www.orbs.org/otherresources.html

First priority - throw that sendmail.cf into the dustbin and do an rpm --erase
linuxconf (with which you clearly config'd your sendmail - linuxconf generates
broken versions of 8.8.7 rulesets, making your system highly insecure).

Use the sendmail.mc file to regenerate sendmail.cf (you have to install the
sendmail-cf-8.9.3.rpm first, for this)

> how do i restrict the mail server so that only users on my local machine..
> ie the mail server machine can sendmails.. and others wil not be able to
> do it..

sigh ... this is a fscking FAQ at http://www.sendmail.org/faq (one of the top 5
most frequently asked questions abt sendmail ...)

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin

----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to