David,

> I am trying to block some spam sites from gaining entry into my system, and
> I run my own mail server (no pop - smtp right to my dsl address) and 
> according to the manpages, it would appear that I should put the trouble-
> some sites in /etc/postfix/access, one per line, along with a REJECT
> message; probably the simplest way to do this. 
> 
> So I have a few lines:
> 
> 163.net       REJECT
> customoffers.com REJECT
> 263.net REJECT
> 
> etc. I then restart postfix by 'service postfix restart', the access.db
> file is subsequently rewritten. Still though I get spam from these sites,
> and postfix seemingly is ignoring these rules.


Try adding this line into your /etc/postfix/main.cf file...

access_maps = regexp:/etc/postfix/access

And then restart postfix with 'service postfix restart'

Thanks... Dan.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to