{"action":"created","issue":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/258","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/258/comments","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/258/events","html_url":"https://github.com/jwilder/nginx-proxy/issues/258","id":110974221,"number":258,"title":"Example using nginx-proxy for mailservers","user":{"login":"shl-berlin","id":12728241,"avatar_url":"https://avatars.githubusercontent.com/u/12728241?v=3","gravatar_id":"","url":"https://api.github.com/users/shl-berlin","html_url":"https://github.com/shl-berlin","followers_url":"https://api.github.com/users/shl-berlin/followers","following_url":"https://api.github.com/users/shl-berlin/following{/other_user}","gists_url":"https://api.github.com/users/shl-berlin/gists{/gist_id}","starred_url":"https://api.github.com/users/shl-berlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shl-berlin/subscriptions","organizations_url":"https://api.github.com/users/shl-berlin/orgs","repos_url":"https://api.github.com/users/shl-berlin/repos","events_url":"https://api.github.com/users/shl-berlin/events{/privacy}","received_events_url":"https://api.github.com/users/shl-berlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-12T13:23:30Z","updated_at":"2015-10-13T12:20:39Z","closed_at":null,"body":"First I like to thank you for one of the greatest docker apps. Everything is fine but I am struggling a little bit how to get it working as a Mail-Proxy-Server (Imap,smtp,postfix, http).\r\nWhat is the best way to do it? Create a new template? Per vHost-Configuration?\r\n\r\nI hope someone could help. For sure I would share my experience with the nginx-proxy community.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/comments/147699081","html_url":"https://github.com/jwilder/nginx-proxy/issues/258#issuecomment-147699081","issue_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/258","id":147699081,"user":{"login":"shl-berlin","id":12728241,"avatar_url":"https://avatars.githubusercontent.com/u/12728241?v=3","gravatar_id":"","url":"https://api.github.com/users/shl-berlin","html_url":"https://github.com/shl-berlin","followers_url":"https://api.github.com/users/shl-berlin/followers","following_url":"https://api.github.com/users/shl-berlin/following{/other_user}","gists_url":"https://api.github.com/users/shl-berlin/gists{/gist_id}","starred_url":"https://api.github.com/users/shl-berlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shl-berlin/subscriptions","organizations_url":"https://api.github.com/users/shl-berlin/orgs","repos_url":"https://api.github.com/users/shl-berlin/repos","events_url":"https://api.github.com/users/shl-berlin/events{/privacy}","received_events_url":"https://api.github.com/users/shl-berlin/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T12:20:39Z","updated_at":"2015-10-13T12:20:39Z","body":"Hey! \r\nThanks for your answers. In my case I have two Mailservers. One is in the production state and the other one I want to prepare to take over the first one.\r\nThe first one is installed on the host system directly, without docker. The second one should be in a docker container. At the moment I am planing what is the best solution and the beay way to switch over. For testing proposes I thought it would be nice to do a kind of subdomain splitting.\r\n\r\nThis means:\r\nfirst mailserver = masterdomain.com\r\nsecond mailserver = testing.maildomain.com \r\n\r\nThanks a lot for you help guys.\r\n"}}