[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Mail redirect Issue

Posted on 2014-08-09
Medium Priority
Last Modified: 2014-08-21
Hey Everyone,

I am currently having an issue. My hosting is on a Windows Server (2012), using hMailserver and WebsitePanel, and have recently setup a Linux Account for emails only due to Windows inability to do anything mail related correctly or without issue. I have changed the MX records and the CNAME as it should be, all the DNS is fine and working. The issue is I want to have my clients log-in to mail.domain.com to access their email. The problem comes in with re-directing the Linux account that holds the MX records, to redirect from domain.com/webmail, domain.com:2095, or in this case since the MX records are the only change, elk.hostingcompany.com/webmail (elk is the server) TO mail.domain.com that the clients are used to using.

Keep in mind the DNS is working fine with MX / CNAME changes on the ASP Windows Server side. It's only the overall redirect of the log-in I need assistance in getting right, whether via a .htaccess re-direct or whatever means that aren't coming to mind at the moment. Any help would be appreciated. Thank you.
Question by:ForFracksSake
  • 2
LVL 46

Expert Comment

by:Sjef Bosman
ID: 40251552
First of all, I only have a limited understanding of mail and DNS internals. I can only try to help you in analysing the problem.

To me, your question is clear as mud. I get the impression it contains a lot of details but not the bigger picture. Can you describe the intended behaviour of your environment, e.g. A sends a mail to B, etc.? Can you add the error messages that you get, if any? And can you add details about how you configured the environment? Why Linux and Windows? Why do you mention the log in?
LVL 27

Expert Comment

ID: 40252141
are you trying to do the redirect at domain reg/dns level or redirecting from your own webserver?

Author Comment

ID: 40262364
Okay.. Sorry for the the delay.

For the gentleman's old ASP.NET account, the mail login is mail.domain.com . However with the new Linux Server I created him (where the email is running through now), the login is to webmail and is eithe webmail.domain.com or domain.com/webmail. I want to redirect this correctly to mail.domain.com so the client's customers don't have to change the way they logged on prior. I know it's a cluster*, but there's got to be a way to do this. Keep in mind, all the DNS with the exception of the MX record are on the ASP.NET (WebsitePanel) Windows Server.
LVL 27

Accepted Solution

Steve earned 1500 total points
ID: 40275749
ok. to confirm: you have a Linux server serving webmail on a different url than the old one and you want to redirect the old url to this new address?

If this is correct, you need to amend the topics of the question as you're looking at windows experts in this bit. you need someone to help you redirect one URL to another on your Linux server.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Suggested Courses

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question