[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Spam Attacker Program wanted



> 
> Is there a way to set this up in the control panel under the 
> "email parameters"?
> 
> I tried blocking top-level country domains, but that didn't 
> seem to work. Will the system accept wildcards?
> 
> For instance:
> 
> *.ru
> *.cz
> 

You would need to edit your /etc/mail/access file directly. Look for the
line:
# Put custom additions below (Do not change/remove this line).

Then just add:

ru[tab]550 mail from ru not accepted
cz[tab]550 mail from cz not accepted

Then, while in /etc/mail as root:

[root mail]# makemap hash access.db < access

That will only block email where the server is something like
mail.sample.cz or the email address ends .cz. The various country
specific block lists go by the IP blocks assigned to those countries.
http://www.blackholes.us/

-- 
C2003 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.