LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Rejecting Spam Emails (http://www.linuxquestions.org/questions/linux-networking-3/rejecting-spam-emails-54515/)

vk1985 04-10-2003 11:24 PM

Rejecting Spam Emails
 
Hi,

I'm running a Linux mail server and would like to stop spam emails from reaching the mail clients.

My topology looks like this:
Client network <-> Mail Server <-> Internet

On the mail server I modified /etc/mail/access
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
mydomain.com RELAY
mail.mydomain.com RELAY
192.168.1 RELAY
unwanted@domain.com REJECT

and then executed the following:
makemap hash /etc/mail/access.db < /etc/mail/access

However, Clients still receive email from unwanted@domain.com.

Could someone please tell me what the problem is or how I can stop emails from unwanted@domain.com to reach the Clients.

Thanks in advance.

RCampbell5 04-11-2003 01:35 AM

Do you have the corresponding entries in sendmail.cf? Did you restart the sendmail process?

vk1985 04-11-2003 01:51 AM

I do have the corresponding process in sendmail.cf as follows:

# Access list database (for spam stomping)
Kaccess hash -T<TMPF> -o /etc/mail/access.db

I have also restarted sendmail.

neenee 04-11-2003 04:36 AM

you can try setting up spamassassin.

read about it and get it here


All times are GMT -5. The time now is 11:31 PM.