# How to redirect Email from an AliasServer to the Main-Server-Address?

**URL:** <https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362>\
**Category:** Virtualmin\
**Created:** [May 1, 2024, 10:39am UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362 "2024-05-01T10:39:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![suther](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/suther/32/2163_2.png) [@suther](https://forum.virtualmin.com/u/suther)\
**Post date:** [May 1, 2024, 10:39am UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/1 "2024-05-01T10:39:51Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Linux 22.04.4 |
| Webmin version | 2.105 |
| Usermin version | 2.005 |
| Virtualmin version | 7.8.2 |
| Theme version | 21.09.5 |
| Package updates | All installed packages are up to date |

I have an virtualserver [domain.com](http://domain.com) and a Alias for [domain.de](http://domain.de).

How can I get it to work to redirect any Emails that go to [domain.de](http://domain.de) to [domain.com](http://domain.com)?

---

<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:** [May 2, 2024, 5:17am UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/2 "2024-05-02T05:17:55Z")

</div>

Normally, if you want mail for the domain to go to the parent, you wouldn’t enable mail for the alias (i.e. when you created it, it sounds like you chose “Alias, with own email”).

So, if you want emails for the alias domain to go to the same user in the parent, just make an alias, don’t make an alias “with own email”, because that would mean you’d have to manually create all the aliases to redirect mail to your parent domain.

So, delete the alias with own email, then create a new one without own email, and check the box for “Accept mail for domain”.

---

<div class="post-metadata">

**Author:** ![suther](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/suther/32/2163_2.png) [@suther](https://forum.virtualmin.com/u/suther)\
**Post date:** [May 2, 2024, 10:40am UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/3 "2024-05-02T10:40:27Z")

</div>

Ok, I don’t remember which kind this server was, so I followed your advice and removed the alias-server.  
Then I’ve created a new one via Button " Alias from [mydomain.com](http://mydomain.com) " and leave “Accept mail for domain” unchecked (or do I need to check it)?

---

<div class="post-metadata">

**Author:** ![suther](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/suther/32/2163_2.png) [@suther](https://forum.virtualmin.com/u/suther)\
**Post date:** [May 2, 2024, 1:22pm UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/4 "2024-05-02T13:22:34Z")

</div>

Still don’t get any mail that go to the .de domain.  
@Joe Do I need to activate or deactivate the Email-Checkbox in the Server-Settings of “Alias from”-Server?

---

<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:** [May 2, 2024, 4:05pm UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/5 "2024-05-02T16:05:41Z")

</div>

> [@suther](#):
>
> Then I’ve created a new one via Button " Alias from [mydomain.com](http://mydomain.com) " and leave “Accept mail for domain” unchecked (or do I need to check it)?

That’s not what I said.

I said:

> [@Joe](#):
>
> So, delete the alias with own email, then create a new one without own email, and check the box for “Accept mail for domain”.

---

<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:** [May 2, 2024, 4:06pm UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/6 "2024-05-02T16:06:32Z")

</div>

“Alias with own email” is a separate type of alias server that receives mail independent of the parent.

---

<div class="post-metadata">

**Author:** ![suther](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/suther/32/2163_2.png) [@suther](https://forum.virtualmin.com/u/suther)\
**Post date:** [May 3, 2024, 9:06am UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/7 "2024-05-03T09:06:45Z")

</div>

Yes, I’ve seen it, and caused of this (and because I don’t remember how to setup this server in the past) I fully removed this Alias-Server and set it up it again, as “Alias from” `without Email`.

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/6/68dec61aa33e87b609ac1bd9c00987a46bbfa765.png)

I’d unchecked it during creation… was it wrong, does it need to be activated to listen to emails als alias?

---

<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:** [May 11, 2024, 9:07am UTC](https://forum.virtualmin.com/t/how-to-redirect-email-from-an-aliasserver-to-the-main-server-address/126362/8 "2024-05-11T09:07:16Z")

</div>

Closed on May 11, 2024, 9:07am UTC

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