How to set up DKIM on HMS for domain with multiple names

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
ABPT2251
Normal user
Normal user
Posts: 36
Joined: 2015-03-16 06:05

How to set up DKIM on HMS for domain with multiple names

Post by ABPT2251 » 2018-09-20 09:15

Hi,
I have been running hms for quite some time and have implemented DKIM for my domain. However my domain has a number of 'names' for which DKIM is not working.
I would appreciate some guidance on how to implement DKIM for the other names my domain goes under.
Regards
Norman

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

Re: How to set up DKIM on HMS for domain with multiple names

Post by mattg » 2018-09-20 10:35

You can't

DKIM only works for domains, not domain names (aliases)
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

ABPT2251
Normal user
Normal user
Posts: 36
Joined: 2015-03-16 06:05

Re: How to set up DKIM on HMS for domain with multiple names

Post by ABPT2251 » 2018-09-22 10:09

Thanks Matt. Mmmm thought so.
So, I have a number of alias domain names but in hms I have set accounts only to one domain and they receive mail from the different domains. How may I achieve this and use DKIM?
Regards
Norman

User avatar
jimimaseye
Moderator
Moderator
Posts: 8116
Joined: 2011-09-08 17:48

Re: How to set up DKIM on HMS for domain with multiple names

Post by jimimaseye » 2018-09-22 10:25

Out of interest what happens if you apply the public dkim record of the master domain to the dns of the alias domains (as shown in stage 2 here )?

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

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

Re: How to set up DKIM on HMS for domain with multiple names

Post by mattg » 2018-09-22 23:45

ABPT2251 wrote:
2018-09-22 10:09
Thanks Matt. Mmmm thought so.
So, I have a number of alias domain names but in hms I have set accounts only to one domain and they receive mail from the different domains. How may I achieve this and use DKIM?
Create all domains as real domains, and use message forwarding to keep messages on a single domain

Why would you need to do this?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

ABPT2251
Normal user
Normal user
Posts: 36
Joined: 2015-03-16 06:05

Re: How to set up DKIM on HMS for domain with multiple names

Post by ABPT2251 » 2018-09-28 10:20

Hi Jimimaseye,
I did try using the master DKIM for the alias domains and the DKIM fails.

Hi Mattg,
I suppose that you may be correct but it seems very redundant.
We have a number of domains which are variations of our public name eg abc.com.au alphabetacam.com abc.com nad are used in email. However any email to John@... needs to be sent to John whatever the domain variation used. I hope that this makes some sense. Maybe we need to rationalise this.

Thank for your help.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8116
Joined: 2011-09-08 17:48

Re: How to set up DKIM on HMS for domain with multiple names

Post by jimimaseye » 2018-09-28 14:29

And John must reply under the same domain to which he was first addressed? Or can he reply as the master domain?

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

ABPT2251
Normal user
Normal user
Posts: 36
Joined: 2015-03-16 06:05

Re: How to set up DKIM on HMS for domain with multiple names

Post by ABPT2251 » 2018-10-05 15:56

Hi,
My apologies for taking so long.
John can reply from one domain. So, I guess that's the one I Dkim!

User avatar
jimimaseye
Moderator
Moderator
Posts: 8116
Joined: 2011-09-08 17:48

Re: How to set up DKIM on HMS for domain with multiple names

Post by jimimaseye » 2018-10-05 19:05

Exactly. The main domain.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

ABPT2251
Normal user
Normal user
Posts: 36
Joined: 2015-03-16 06:05

Re: How to set up DKIM on HMS for domain with multiple names

Post by ABPT2251 » 2018-10-05 22:32

Thank you Jimimaseye for your patient responses.

Post Reply