Edit the configuration document,
go to Router/SMTP
Restrictions and Controls
SMTP Inbound COntrols
Allow messages from external internet domains to be sent only to the following internet domains:
(leave blank)
Deny messages from external internet domains to be sent to the following internet domains: *
Allow messages only from the following external internet hosts to be sent to external internet domains:
(leave blank)
Deny messages from the following external internet hosts to be sent to external internet domains: *
In the Global Domain document, set your internet domain name :
Go to the 'conversion' tab,
Under 'local primary internet domain', fill in your domain name (e.g. mycompany.com)
Next edit notes.ini
add these lines :
SMTP_OCH_REJECT_SMTP_ORIGINATED_MESSAGES=1
SMTPMTA_ALLOW_KNOWN_DOMAINS=1
SMTPMTA_RELAY_FORWARDS=1
SMTPALLHOSTSEXTERNAL=1
You might also want to change the default DOmino SMTP banner to something else :
SMTPGreeting="SMTP Gateway ready at %s"
Warning : do NOT use SMTPMTA_REJECT_RELAYS=1 because it will change the way how the SMTP MTA handles incoming emails
Save notes.ini, reboot the server and it will not relay anymore
good luck
(PS : you can test if your server allows relaying on
--------------------------------------------------------------------
How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter?
---------------------------------------------------------------------
If this post was helpfull, please click below to let me know !