# Email ip issues, multiple domains different reverse DNS or SOA?

**URL:** <https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801>\
**Category:** Usermin\
**Created:** [March 29, 2025, 1:00am UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801 "2025-03-29T01:00:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![spds](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/919ad9/32.png) [@spds](https://forum.virtualmin.com/u/spds)\
**Post date:** [March 29, 2025, 1:00am UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/1 "2025-03-29T01:00:15Z")

</div>

Ok a little preface, Ive been running multiple servers for like 10 years with email working successfully for many customers/domain all on 1 IP address. I, no doubt, still have way more to learn but again stuff has been working for years so that makes me think I’ve done something right, but to the current issue:

1. customer cant add their email account to 3rd party email apps (tried outlook and apple mail) by using their own hostname, they must use the main server hostname for it to work. I believe customers could use their own “[mail.theirdomain.com](http://mail.theirdomain.com)” previously but honestly I could be misremembering.
2. reverse DNS only returns the main hostname for their domain. Is it even possible to have each domain return their own revers DNS or does this require unique IPs?
3. If I jumped to unique IPS for each customer using the same server (I assume that’s possible and what a pro would do) is it worth the effort and is there any functionality or security issue with how Ive been doing it all these years if I continue as is?

Thank you.

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | rocky 9 |
| Webmin version | latest |
| Usermin version | latest |

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [March 29, 2025, 10:53pm UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/2 "2025-03-29T22:53:26Z")

</div>

> [@spds](#):
>
> 3rd party email apps

Please post only one issue at a time, not multiple. Its one of the rules on this forum  
[https://forum.virtualmin.com/guidelines](https://forum.virtualmin.com/guidelines)

I presume you mean a email client like thunderbird. This should not be a issue. Virtualmin sets up auto config and all the customer needs to do is get the email and password correct. (unless the autoconfig is sending the incorrect details)  
Adding there own domain name for mail server is pretty standard setup.  
Maybe the customer has done a few fails and there IP has been add to fail2ban.

Also it not hard to add full system info, just a matter of copy paste from virtualmin.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/f/f/ffcad25ea5a30b40567e1f5d1399552fb94971b1.png)

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [March 30, 2025, 12:25am UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/3 "2025-03-30T00:25:01Z")

</div>

> [@spds](#):
>
> I believe customers could use their own “[mail.theirdomain.com](http://mail.theirdomain.com)” previously but honestly I could be misremembering.

Any name that gets resolved to that IP address should work unless something strange has happened. The server listens on ports for certain traffic. Does [mail.theirdomain.com](http://mail.theirdomain.com) exist in the DNS records? Did you do anything to the templates?

> [@spds](#):
>
> reverse DNS only returns the main hostname for their domain.

As far as I know you can do one name per reverse.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [March 30, 2025, 2:22am UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/4 "2025-03-30T02:22:46Z")

</div>

> [@ID10T](#):
>
> As far as I know you can do one name per reverse.

The reverse is done on the IP and done by the “owner” of the IP.  
It cannot be done by any dns, only the owners dns.

[https://www.cloudflare.com/learning/dns/glossary/reverse-dns/](https://www.cloudflare.com/learning/dns/glossary/reverse-dns/)

---

<div class="post-metadata">

**Author:** ![inteq](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/inteq/32/18101_2.png) [@inteq](https://forum.virtualmin.com/u/inteq)\
**Post date:** [April 25, 2025, 8:07pm UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/5 "2025-04-25T20:07:39Z")

</div>

Multiple rDNS record won’t work, as the 1st reply might not be the one you want and that is the only one that counts.  
Don’t try.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [April 26, 2025, 6:33pm UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/6 "2025-04-26T18:33:42Z")

</div>

> [@spds](#):
>
> reverse DNS only returns the main hostname for their domain. Is it even possible to have each domain return their own revers DNS or does this require unique IPs?

No, it is not possible (or, rather, it violates the spec to do so). How could it be? There is only one IP and it needs to point to the canonical name for that host.

You should stop caring, though. PTR doesn’t matter. I mean, you need a PTR, it needs to resolve both ways, but it doesn’t matter what it is. Google and Microsoft don’t use their customer names for their PTR records (or the MX records, for that matter). This is all stuff below the level of user awareness, and you’re just wasting time trying to obfuscate the path mail is taking.

---

<div class="post-metadata">

**Author:** ![shoulders](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/shoulders/32/10086_2.png) [@shoulders](https://forum.virtualmin.com/u/shoulders)\
**Post date:** [April 26, 2025, 7:23pm UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/7 "2025-04-26T19:23:45Z")

</div>

I believe you can configure particular domains mail to be sent from a particular IP if your server has more than one. Each of those IP could have their own rDNS but the servers host name would only use one.

My servers hostname matches it’s rDNS and I only have 1 IP.

Joes post above is correct 😃 and he knows enough of this stuff.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [June 25, 2025, 7:24pm UTC](https://forum.virtualmin.com/t/email-ip-issues-multiple-domains-different-reverse-dns-or-soa/132801/8 "2025-06-25T19:24:13Z")

</div>

Closed on June 25, 2025, 7:24pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
