Where are the mail subdomain redirects added

@Jamie A long time you implemented this. Can you tell me the following.

  • Where did you actually make the change for new websites. I want to see the code so I can tell what was altered. I am assuming that the mail. sub-domain will have a redirect rule that is added on setup rather than manually adding a redirect rule for old websites.
  • I know I can use redirects, but I want to keep things neat.

Thanks

If you want to configure redirects for new websites, this can be setup at System Settings → Server Templates → Default settings → Website for domain → Redirects for new websites.

I thought you were adding some code to automatically redirect the mail domain.