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. |
Do you have the corresponding entries in sendmail.cf? Did you restart the sendmail process?
|
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. |
|
All times are GMT -5. The time now is 11:47 AM. |