Page 1 of 1

SMTP relay for some specific domains

Posted: 2013-02-10 17:33
by eric92
Hi,

Is it possible to relay emails using hmailserver for a few domains instead of whole server? We can set relay for whole server using the 'Delivery of Email' tab under the smtp but I cant find any for one or some of the domains on that server. Is it possible in any way?

Thanks!

Re: SMTP relay for some specific domains

Posted: 2013-02-10 18:15
by japi
Yes it is possible :) You can use routes (Settings --> Protocols --> SMTP --> Routes) to forward mails to specific domains to another server:
http://www.hmailserver.com/documentatio ... ence_route

Re: SMTP relay for some specific domains

Posted: 2013-02-10 18:50
by eric92
Thanks japi, routes does allow me to send accomplish half of what I want. i.e. sending 'to' specific domain. However I am hosting more than one domain on my server and this method will route emails from all the domains through this route for a specific domain. What I need is to allow route to send from specific domains and not from the other domains.

Re: SMTP relay for some specific domains

Posted: 2013-02-10 19:30
by Bill48105
Not certain I follow you entirely eric92 but you can use Routes for in or out, you just adjust the "matches route" settings at the bottom of the route screen. An example of mailbagging/ETRN (being a secondary MX) is shown here:
http://www.hmailserver.com/forum/viewto ... 45#p125845
Bill

Re: SMTP relay for some specific domains

Posted: 2013-02-10 23:54
by mattg
ALSO

Use a global rule to call the route

Re: SMTP relay for some specific domains

Posted: 2013-02-12 15:20
by Mooto
mattg wrote:ALSO

Use a global rule to call the route
Hi guys
i have been trying to set up my own email server using hmail and iam find errors when testing please help.

Re: SMTP relay for some specific domains

Posted: 2013-02-12 16:31
by mattg
Please start a new thread as per forum rules and show more detail, eg what errors