On Fri, Aug 31, 2001 at 09:30:26AM -0700, Mike Jimenez wrote:
> What it the proper way to block SMTP Traffic from certain hosts?
> For example in the tcp.smtp file I have inserted the following.
> 200.35.83.68:deny
>
That is the correct syntax to deny all SMTP traffic from this host, in
this context.

> But I think will only block mail relaying rather than denying any email sent
> to me from this host. Is this correct?
>

No, the syntax to allow traffic but deny relay is:

200.35.83.68:allow

The rule to allow relay (which you should never do for hosts you don't
control) is:

200.35.83.68:allow,RELAYCLIENT=""

> If someone can provide me with a solution on how to block incoming email
> from certain hosts it would be greatly appreciated.

You had it already. :)
> Thanks

You're welcome.

GW

Reply via email to