{"id":2228,"date":"2014-08-21T18:54:56","date_gmt":"2014-08-21T14:54:56","guid":{"rendered":"https:\/\/blog.alwawee.ru\/?p=2228"},"modified":"2014-08-21T19:05:42","modified_gmt":"2014-08-21T15:05:42","slug":"install-mail-server-ubuntu-just-use-yandex-google-domain-mail-services","status":"publish","type":"post","link":"https:\/\/blog.alwawee.ru\/?p=2228","title":{"rendered":"To install e-mail server on Ubuntu or just to use web mail services?"},"content":{"rendered":"<p>My goal was to create e-mails like user@mydomain.ru and use these e-mails outside the server, by accessing them using IMAP and SMTP protocols.  <\/p>\n<p>Unfortunately, instead of trying to find the most beautiful, fast and feature-rich solution, I decided to setup an e-mail server on Ubuntu on the basis of PostFix (running on a v-server at Hetzner hosting). It is a private server, that doesn&#8217;t support e-mail serving by default &#8211; you have to setup it yourself. Trying to create something great on Ubuntu for a not red eye Linux geek is like trying to build Boeing 747 by yourself. But I decided to accept this challenge without thinking much and wasted a ton of time as a result. I tried hard for 2 days and all that I had achieved is e-mail forwarding from my server to the Google e-mail. <\/p>\n<p>I tried to use DoveCot and Courier to enable IMAP or POP, but without a success. I couldn&#8217;t connect Apple Mail to the resulting e-mail server and make it work. I worked with a lot of configuration files, tried to setup correctly SASL, etc. but at the end I understood, that this is a too hard work to create just an e-mail server. I understood that this must not be a correct way to go. Look for instance at <a href=\"https:\/\/help.ubuntu.com\/community\/PostfixBasicSetupHowto\" title=\"https:\/\/help.ubuntu.com\/community\/PostfixBasicSetupHowto\" target=\"_blank\">this tutorial<\/a>. Of course, it is a possiblity, but it works with a very little features and very hard to achieve good functionality. Look at these terrible configs:<br \/>\n<a href=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png\" alt=\"ubuntu\" width=\"923\" height=\"284\" class=\"aligncenter size-full wp-image-2230\" srcset=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png 923w, https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu-300x92.png 300w\" sizes=\"auto, (max-width: 923px) 100vw, 923px\" \/><\/a><\/p>\n<p>I didn&#8217;t want to become a Linux geek with red eyes, but I did&#8230; The way of creating e-mail server on Ubuntu from scratch appeared to be absolutely unproductive because of tons of problems during configuration and a little number of features at the result. After some time I decided to look at Yandex and Google e-mail services for corporate businesses, when you use their e-mail servers by redirecting from your own domain. And I am glad, I decided to try! At the end, I created the goal e-mail server using Yandex. Yandex service is called <a href=\"https:\/\/pdd.yandex.ru\/domains_add\/\" title=\"https:\/\/pdd.yandex.ru\/domains_add\/\" target=\"_blank\">a Mail for domain<\/a>. <\/p>\n<p><strong>All I had to do &#8211; is to setup DNS entries, MX entries particularly and put one file to the root folder of the site. <\/strong><\/p>\n<p>Look, how nicely it works now both on Apple Mail and via Web Interface on Yandex: <\/p>\n<p><a href=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/yandex.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/yandex.png\" alt=\"yandex\" width=\"1918\" height=\"772\" class=\"aligncenter size-full wp-image-2231\" srcset=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/yandex.png 1918w, https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/yandex-300x120.png 300w, https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/yandex-1024x412.png 1024w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/p>\n<p>And <a href=\"https:\/\/help.yandex.ru\/mail\/mail-clients.xml#imap\" title=\"https:\/\/help.yandex.ru\/mail\/mail-clients.xml#imap\" target=\"_blank\">here is how to setup IMAP and SMTP<\/a> on Apple Mail or any other E-mail client.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My goal was to create e-mails like user@mydomain.ru and use these e-mails outside the server, by accessing them using IMAP and SMTP protocols. Unfortunately, instead of trying to find the most beautiful, fast and feature-rich solution, I decided to setup an e-mail server on Ubuntu on the basis of PostFix (running on a v-server at [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[95,94,96,97],"class_list":["post-2228","post","type-post","status-publish","format-standard","hentry","category-web-development","tag-e-mail","tag-mail","tag-ubuntu","tag-yandex"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>To install e-mail server on Ubuntu or just to use web mail services?  - Denis Kutlubaev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.alwawee.ru\/?p=2228\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"To install e-mail server on Ubuntu or just to use web mail services?  - Denis Kutlubaev\" \/>\n<meta property=\"og:description\" content=\"My goal was to create e-mails like user@mydomain.ru and use these e-mails outside the server, by accessing them using IMAP and SMTP protocols. Unfortunately, instead of trying to find the most beautiful, fast and feature-rich solution, I decided to setup an e-mail server on Ubuntu on the basis of PostFix (running on a v-server at [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.alwawee.ru\/?p=2228\" \/>\n<meta property=\"og:site_name\" content=\"Denis Kutlubaev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/alwaweemobile\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-21T14:54:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-08-21T15:05:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png\" \/>\n<meta name=\"author\" content=\"Denis Kutlubaev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Denis Kutlubaev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228\"},\"author\":{\"name\":\"Denis Kutlubaev\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"headline\":\"To install e-mail server on Ubuntu or just to use web mail services?\",\"datePublished\":\"2014-08-21T14:54:56+00:00\",\"dateModified\":\"2014-08-21T15:05:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228\"},\"wordCount\":421,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/ubuntu.png\",\"keywords\":[\"e-mail\",\"Mail\",\"Ubuntu\",\"Yandex\"],\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228\",\"name\":\"To install e-mail server on Ubuntu or just to use web mail services? - Denis Kutlubaev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/ubuntu.png\",\"datePublished\":\"2014-08-21T14:54:56+00:00\",\"dateModified\":\"2014-08-21T15:05:42+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#primaryimage\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/ubuntu.png\",\"contentUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2014\\\/08\\\/ubuntu.png\",\"width\":923,\"height\":284},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2228#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.alwawee.ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"To install e-mail server on Ubuntu or just to use web mail services?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/\",\"name\":\"Denis Kutlubaev\",\"description\":\"iOS Development\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.alwawee.ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\",\"name\":\"Denis Kutlubaev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"caption\":\"Denis Kutlubaev\"},\"description\":\"iOS Developer, creator of Tornado Browser and many other popular apps\",\"sameAs\":[\"http:\\\/\\\/dennis.alwawee.com\"],\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"To install e-mail server on Ubuntu or just to use web mail services?  - Denis Kutlubaev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.alwawee.ru\/?p=2228","og_locale":"en_US","og_type":"article","og_title":"To install e-mail server on Ubuntu or just to use web mail services?  - Denis Kutlubaev","og_description":"My goal was to create e-mails like user@mydomain.ru and use these e-mails outside the server, by accessing them using IMAP and SMTP protocols. Unfortunately, instead of trying to find the most beautiful, fast and feature-rich solution, I decided to setup an e-mail server on Ubuntu on the basis of PostFix (running on a v-server at [&hellip;]","og_url":"https:\/\/blog.alwawee.ru\/?p=2228","og_site_name":"Denis Kutlubaev","article_publisher":"https:\/\/www.facebook.com\/alwaweemobile","article_published_time":"2014-08-21T14:54:56+00:00","article_modified_time":"2014-08-21T15:05:42+00:00","og_image":[{"url":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png","type":"","width":"","height":""}],"author":"Denis Kutlubaev","twitter_misc":{"Written by":"Denis Kutlubaev","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.alwawee.ru\/?p=2228#article","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/?p=2228"},"author":{"name":"Denis Kutlubaev","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"headline":"To install e-mail server on Ubuntu or just to use web mail services?","datePublished":"2014-08-21T14:54:56+00:00","dateModified":"2014-08-21T15:05:42+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=2228"},"wordCount":421,"commentCount":1,"image":{"@id":"https:\/\/blog.alwawee.ru\/?p=2228#primaryimage"},"thumbnailUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png","keywords":["e-mail","Mail","Ubuntu","Yandex"],"articleSection":["Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.alwawee.ru\/?p=2228#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.alwawee.ru\/?p=2228","url":"https:\/\/blog.alwawee.ru\/?p=2228","name":"To install e-mail server on Ubuntu or just to use web mail services? - Denis Kutlubaev","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=2228#primaryimage"},"image":{"@id":"https:\/\/blog.alwawee.ru\/?p=2228#primaryimage"},"thumbnailUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png","datePublished":"2014-08-21T14:54:56+00:00","dateModified":"2014-08-21T15:05:42+00:00","author":{"@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"breadcrumb":{"@id":"https:\/\/blog.alwawee.ru\/?p=2228#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.alwawee.ru\/?p=2228"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.alwawee.ru\/?p=2228#primaryimage","url":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png","contentUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2014\/08\/ubuntu.png","width":923,"height":284},{"@type":"BreadcrumbList","@id":"https:\/\/blog.alwawee.ru\/?p=2228#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.alwawee.ru\/"},{"@type":"ListItem","position":2,"name":"To install e-mail server on Ubuntu or just to use web mail services?"}]},{"@type":"WebSite","@id":"https:\/\/blog.alwawee.ru\/#website","url":"https:\/\/blog.alwawee.ru\/","name":"Denis Kutlubaev","description":"iOS Development","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.alwawee.ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7","name":"Denis Kutlubaev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","caption":"Denis Kutlubaev"},"description":"iOS Developer, creator of Tornado Browser and many other popular apps","sameAs":["http:\/\/dennis.alwawee.com"],"url":"https:\/\/blog.alwawee.ru\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/2228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2228"}],"version-history":[{"count":0,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/2228\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}