[Mailman-Users] Re: blocking spam

Krishna Rao SN kri at toxeleia.cftri.org
Fri May 31 11:00:55 CEST 2002


>How can I block all the e-mails coming from a certain domain? How can I block a
ll the e-mails
>coming from lycos.co.kr or korea.com, for example?

If you are using Linux and sendmail, the solution is

1. edit /etc/mail/access
   add the following line
   lycos.co.kr<tab>  550 No spam allowed here
   korea.com<tab>    550 No spam allowed here

2. create access.db with the following command

   makemap hash access.db < access

2. restart sendmail

--krishna





More information about the Mailman-Users mailing list