Re: [expert] rejecting sites mail with postfix

2001-10-28 Thread Daniel Woods

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



Re: [expert] rejecting sites mail with postfix

2001-10-28 Thread David E. Fox

On Saturday 27 October 2001 01:39 pm, you wrote:
>
> Are you sure..?  :^)  I thought it was too but the file dates said
> otherwise...

/etc/access.db was newer (by one minute) than /etc/access after I ran 'service 
postfix restart' so I figured that it got the new rules in place. Still, some 
of the lines in /etc/postfix/access I put in over a week ago and I am still 
getting email from these sites.


> Try:
>   postmap /etc/postfix/access
>   postfix reload

I will try that, maybe it'll help.


David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---




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



Re: [expert] rejecting sites mail with postfix

2001-10-27 Thread Pierre Fortin

"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



[expert] rejecting sites mail with postfix

2001-10-27 Thread David E. Fox

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.



David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---



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