How to Deny Relaying?

We have R5 with SMTP running. We want to disable relaying of mail. No mails will be forwarded if the recepient is not local.

From the Help File.  Is says
=====================================
To restrict relay access
  1.      Make sure you already have a Configuration Settings document for the server(s) to be configured.
  2.      From the Domino Administrator, click the Configuration tab and expand the Messaging section.
  3.      Click Configurations.
  4.      Select the Configuration Settings document for the mail server or servers you want to restrict mail on and click Edit Configuration.
  5.      Click the Router/SMTP - Restrictions and Controls - SMTP Inbound Controls tab.
  6.      Complete these fields in the Inbound Relay Controls section, and then save the document:

FIELD: Allow messages from external Internet domains to be sent only to the following Internet domains

ENTER: Internet domains to which your system relays messages sent by hosts outside the local Internet domain. If you enter Internet domains in this field, only messages to recipients in domains matching these entries can relay through your system. Messages for recipients in other external Internet domains are denied. For example, you enter
      lotus.com, ibm.com
      in the field. Domino accepts only messages to recipients with addresses in the lotus.com or ibm.com domains. Domino denies all other messages to recipients in external domains.

======================================

I tried inputing "localdomain.com; %NOTESDOMAIN" but it block all incoming mails even intended for local users.
LVL 1
redenAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ghassan99Commented:
If you want to stop relaying use the third field in the config doc:
"Allow messages only from the following external internet hosts to be sent to external internet domains:"
Specify the same values u have, also include subnet masks where available if u have a RAS connection and a DHCP, say: "[204.71.200.*]"
IP addresses must always be enclosed in square brackets and an asterisk can be used as a wildcard.

-Gus
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ghassan99Commented:
PS Restart the router task for changes to take effect.

-Gus
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.