SMTP-Only Certain Domains?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
New user
New user
Posts: 4
Joined: 2018-02-24 23:12
Location: Weymouth, UK

SMTP-Only Certain Domains?

Post by HarryR » 2020-07-16 15:09

I've been looking around and not finding anything on this exact question, is there a way to block certain protocols for domain names registered in hMail?

I have about 6 or 7 domains attached to hmail, some of these domains have their own IMAP / POP3 hosted on their own servers and are simply using my hmail to send e-mails.
When sending e-mails to their own domains (From: To: - I'm getting an error message with "User not found" assuming that the username (of the recipient) doesn't exist on my hmail setup - which is correct.

Is there any way to say "if this domain, send to external server"?

Thanks in advance,
Web developer for cinema and alcohol chains across the world.
My own site can be found at

Senior user
Senior user
Posts: 2475
Joined: 2017-09-12 17:57

Re: SMTP-Only Certain Domains?

Post by palinka » 2020-07-16 15:17

Setup a route for that connects directly to's server.

Then create a global rule if to contains, then use route.

User avatar
Posts: 21267
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: SMTP-Only Certain Domains?

Post by mattg » 2020-07-16 15:50

just creating the route is enough

no need for the global rule
Just 'cause I link to a page and say little else doesn't mean I am not being nice.

Post Reply