"David E. Fox" wrote:
> 
> Hi *,
> 
> I have a quick question regarding postfix. I checked www.postfix.org, but
> the answer wasn't readily apparent.
> 
> 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.

Are you sure..?  :^)  I thought it was too but the file dates said otherwise...

Try:
  postmap /etc/postfix/access
  postfix reload

HTH,
Pierre

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

Reply via email to