Route for Distribution List

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
Monarch75
New user
New user
Posts: 3
Joined: 2019-03-29 11:23

Route for Distribution List

Post by Monarch75 » 2019-03-29 11:29

Hi...

does anyone know how to configure hmail in a way that it uses a certain smtp-server (route) to send out mails to external emailsadresses configured in a distribution list?

User avatar
katip
Senior user
Senior user
Posts: 656
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Route for Distribution List

Post by katip » 2019-03-29 13:14

Hi,
why would you like to send out bulk mail via an SMTP server other then that in your SMTP setup?
solution is easy but first your answer pls.
Katip
--
HMS 5.7.0-B2428-LTS-64-bit, MySQL 5.7.24, SA 3.4.2, ClamAV 0.101.2 + SaneS

Monarch75
New user
New user
Posts: 3
Joined: 2019-03-29 11:23

Re: Route for Distribution List

Post by Monarch75 » 2019-03-29 13:33

The SMTP-Server configured as SMTP Relayer (smtp.gmail.com) replaces the outgoing-emailAdress with the one that is associated with the gmail-account. Thats ok for most cases. But if I want to send out mails to email-adresses configured in certain distribution list, I want hmail to route the mails through a smtp-server that does not do it.

User avatar
katip
Senior user
Senior user
Posts: 656
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Route for Distribution List

Post by katip » 2019-03-29 14:18

i understand that you already have access to a decent SMTP service.
i'd suggest you use it as your default SMTP relayer instead of Google. so you won't need to route anything.
about the other workaround i prefer to stay noncommittal. one of the mods may or may not offer other solutions.
Katip
--
HMS 5.7.0-B2428-LTS-64-bit, MySQL 5.7.24, SA 3.4.2, ClamAV 0.101.2 + SaneS

Monarch75
New user
New user
Posts: 3
Joined: 2019-03-29 11:23

Re: Route for Distribution List

Post by Monarch75 » 2019-03-29 14:39

Thank you for your time, but thats not what I want.

tunis
Normal user
Normal user
Posts: 215
Joined: 2015-01-05 20:22
Location: Sweden

Re: Route for Distribution List

Post by tunis » 2019-06-13 08:27

I don't use distribution list but you might use global rule.

I have setup a route based on sender.

Criteria
Use AND
From Contains test@domain.com
To Not contains @domain.com

Actions
Send using route NameOfYourRoute
HMS 5.6.8 B2437.17 on Windows Server 2019 Core VM.
HMS 5.6.8 B2437.17 on Windows Server 2016 Core VM.
HMS 5.6.7 B2425.16 on Windows Server 2012 R2 Core VM.

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

Re: Route for Distribution List

Post by mattg » 2019-06-13 10:22

I think just a plain SMTP route would achieve the planned objective
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply