|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: How to reject mail from particular local ip
From: Alex van den Bogaerdt (alex
ergens.op.het.net)
Date: Mon Jan 26 2004 - 17:02:54 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jan 27, 2004 at 11:59:42AM +1300, Huaikun Lin wrote:
> smtpd_client_restrictions = permit_mynetworks
> check_client_access hash:/etc/mail/access
> ....
>
> If I want to block mail from one specific local ip such as
> 202.154.156.74, how should I do that?
>
> I put the following in client_access:
> 202.154.156.74 REJECT
This is never reached. First match wins.
> How do I solve the problem?
Reorder the UCE checks. Postfix has plenty of great examples,
as does Ralf's site (and other's).
HTH
Alex
--
begin sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]