{"id":4793,"date":"2014-10-13T13:43:11","date_gmt":"2014-10-13T18:43:11","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=4793"},"modified":"2024-08-05T01:36:02","modified_gmt":"2024-08-05T06:36:02","slug":"setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/","title":{"rendered":"Setup a mailserver with Exim and Dovecot on a CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft wp-image-3931 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png\" alt=\"exim vps\" width=\"302\" height=\"224\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png 302w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps-300x222.png 300w\" sizes=\"(max-width: 302px) 100vw, 302px\" \/>The following article will guide you through the steps of <strong>installing and setting up a mailserver using Exim and Dovecot on a <a title=\"CentOS SSD VPS\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 7 VPS<\/a><\/strong>.<\/p>\n<p>For this tutorial, we are using one of our CentOS-based <a title=\"SSD VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">managed VPS hosting<\/a> plans, pre-installed with minimal CentOS 7 OS.<\/p>\n<p><strong>What is Exim?<\/strong><\/p>\n<p>Exim is a mail transfer agent (MTA) used on Unix-like operating systems. <strong>Exim is free software<\/strong> distributed under the terms of the GNU General Public License, and it aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.<\/p>\n<p><strong>What is Dovecot?<\/strong><\/p>\n<p>Dovecot is an <strong>open source<a href=\"https:\/\/www.rosehosting.com\/blog\/difference-between-imap-and-pop\/\"> IMAP and POP3<\/a> email server<\/strong> for Linux\/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h4><b>UPDATE THE SYSTEM<\/b><\/h4>\n<p>First off, <code>ssh<\/code> to your server and initiate a <code>screen<\/code> session using the command below:<\/p>\n<pre>## screen -U -S exim-dovecot<\/pre>\n<p>once you&#8217;re in a <code>screen<\/code> session, update your CentOS 7 VPS using <code>yum<\/code> as in:<\/p>\n<pre>## yum update<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>ENABLE EPEL REPOSITORY<\/b><\/h4>\n<p>Enable EPEL repository on the CentOS system using:<\/p>\n<pre>## yum install http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-7-2.noarch.rpm<\/pre>\n<p>if you get a 404 not found, go at <a href=\"https:\/\/dl.fedoraproject.org\/pub\/epel\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/dl.fedoraproject.org\/pub\/epel\/<\/a> and install the latest <code>epel-release<\/code> rpm package available.<\/p>\n<p>check if EPEL has been enabled on your system using:<\/p>\n<pre>## yum repolist<\/pre>\n<p>once EPEL is enabled, install some useful tools using:<\/p>\n<pre>## yum install file perl-Mail-SPF.noarch openssl vim<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>GENERATE SSL CERTIFICATE<\/b><\/h4>\n<p>Since we are going to use SSL in Dovecot and Exim, we need to have an SSL certificate. You can purchase and use one of our GeoTrust <a title=\"VPS SSL Certificates\" href=\"https:\/\/www.rosehosting.com\/ssl-certificates.html\" target=\"_blank\" rel=\"noopener noreferrer\">SSL Certificates<\/a> or you can create your own self-signed SSL certificate for <code>mail.mydomain.com<\/code> using the commands below:<\/p>\n<pre>## mkdir \/root\/SSL\/mail.mydomain.com -p\r\n## cd \/root\/SSL\/mail.mydomain.com\r\n## openssl req -nodes -x509 -newkey rsa:2048 -keyout mail.mydomain.com.key -out mail.mydomain.com.crt -days 365<\/pre>\n<p>Move the SSL certificate and key to <code>\/etc\/ssl<\/code> using:<\/p>\n<pre>## cp mail.mydomain.com.key mail.mydomain.com.crt \/etc\/ssl\/<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>INSTALL AND CONFIGURE EXIM<\/b><\/h4>\n<p><strong>Install exim<\/strong> on the CentOS 7 virtual server using <code>yum<\/code>:<\/p>\n<pre>## yum install exim<\/pre>\n<p>next, open <code>\/etc\/exim\/exim.conf<\/code> with your favorite editor and <strong>configure exim<\/strong> as follows:<\/p>\n<pre>## cp \/etc\/exim\/exim.conf{,.orig}\r\n## vim \/etc\/exim\/exim.conf\r\n\r\nprimary_hostname = mail.mydomain.com\r\ndomainlist local_domains = @ : mydomain.com\r\n\r\ntls_advertise_hosts = *\r\ntls_certificate = \/etc\/ssl\/mail.mydomain.com.crt\r\ntls_privatekey = \/etc\/ssl\/mail.mydomain.com.key\r\n\r\nauth_advertise_hosts = *\r\n<\/pre>\n<p>find the transport section and edit the following:<\/p>\n<pre>local_delivery:\r\n  driver = appendfile\r\n  directory = $home\/Maildir\r\n  maildir_format\r\n  maildir_use_size_file\r\n  delivery_date_add\r\n  envelope_to_add\r\n  return_path_add<\/pre>\n<p>scroll down the the authenticators section and add the following lines:<\/p>\n<pre>dovecot_login:\r\n  driver = dovecot\r\n  public_name = LOGIN\r\n  server_socket = \/var\/run\/dovecot\/auth-client\r\n  server_set_id = $auth1\r\n\r\ndovecot_plain:\r\n  driver = dovecot\r\n  public_name = PLAIN\r\n  server_socket = \/var\/run\/dovecot\/auth-client\r\n  server_set_id = $auth1<\/pre>\n<p>Start the EXIM MTA and add it to system&#8217;s startup using <code>systemctl<\/code><\/p>\n<pre>## systemctl start exim\r\n## systemctl status exim\r\n## systemctl enable exim<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>INSTALL AND CONFIGURE DOVECOT<\/b><\/h4>\n<p><strong>Install Dovecot<\/strong> on the system using <code>yum<\/code><\/p>\n<pre>## yum install dovecot<\/pre>\n<p>Once installed, <strong>configure SSL in Dovecot<\/strong> by editing the following:<\/p>\n<pre>## vim \/etc\/dovecot\/conf.d\/10-ssl.conf\r\n\r\nssl = yes\r\nssl_cert = &lt;\/etc\/ssl\/mail.mydomain.com.crt\r\nssl_key = &lt;\/etc\/ssl\/mail.mydomain.com.key<\/pre>\n<p>next, <strong>allow plaintext authentication<\/strong> in <code>\/etc\/dovecot\/conf.d\/10-auth.conf<\/code>:<\/p>\n<pre>## vim \/etc\/dovecot\/conf.d\/10-auth.conf\r\n\r\ndisable_plaintext_auth = no\r\nauth_mechanisms = plain login<\/pre>\n<p><strong>configure mailbox location<\/strong> and type in <code>\/etc\/dovecot\/conf.d\/10-mail.conf<\/code>:<\/p>\n<pre>## vim \/etc\/dovecot\/conf.d\/10-mail.conf\r\n\r\nmail_location = maildir:~\/Maildir<\/pre>\n<p>Set-up Dovecot so that is allows Exim to use its authentication system in <code>\/etc\/dovecot\/conf.d\/10-master.conf<\/code><\/p>\n<pre>## vim \/etc\/dovecot\/conf.d\/10-master.conf\r\n\r\nservice auth {\r\n...\r\n    unix_listener auth-client {\r\n        mode = 0660\r\n        user = exim\r\n    }\r\n}<\/pre>\n<p>Start Dovecot and add it to system&#8217;s start-up using:<\/p>\n<pre>## systemctl start dovecot\r\n## systemctl status dovecot\r\n## systemctl enable dovecot<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>CREATE SYSTEM USER<\/b><\/h4>\n<pre>## useradd -m test\r\n## passwd test<\/pre>\n<p>&nbsp;<\/p>\n<h4><b>CONFIGURE YOUR EMAIL CLIENT<\/b><\/h4>\n<p>In this example, we are using Mozilla Thunderbird as email client to send\/receive emails. To configure the newly created email account, open Thunderbird enter your account details as shown in the pictures below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-4806\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/10\/step-1.jpg\" alt=\"step-1\" width=\"350\" height=\"283\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/10\/step-1.jpg 506w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/10\/step-1-300x242.jpg 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/p>\n<p>Enter your name, your email address and your password and click &#8216;Continue&#8217;.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-4807\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/10\/step-2.jpg\" alt=\"step-2\" width=\"350\" height=\"193\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/10\/step-2.jpg 735w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/10\/step-2-300x165.jpg 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/p>\n<p>Configure your mail server parameters and click &#8216;Done&#8217;. That&#8217;s it.<\/p>\n<p>&nbsp;<\/p>\n<h4><b>LET US DO THIS FOR YOU?<\/b><\/h4>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/blog\/what-is-linux-vps-hosting\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to <strong>install a mailserver with Exim and Dovecot<\/strong>. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following article will guide you through the steps of installing and setting up a mailserver using Exim and Dovecot &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Setup a mailserver with Exim and Dovecot on a CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#more-4793\" aria-label=\"Read more about Setup a mailserver with Exim and Dovecot on a CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":3931,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1706,13],"tags":[34,71,487,334],"class_list":["post-4793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-email-servers","category-tutorials","tag-centos","tag-dovecot","tag-exim","tag-mailserver","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setup a mailserver with Exim and Dovecot on a CentOS 7\" \/>\n<meta property=\"og:description\" content=\"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-13T18:43:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-05T06:36:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"302\" \/>\n\t<meta property=\"og:image:height\" content=\"224\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Setup a mailserver with Exim and Dovecot on a CentOS 7\",\"datePublished\":\"2014-10-13T18:43:11+00:00\",\"dateModified\":\"2024-08-05T06:36:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/\"},\"wordCount\":534,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/exim-vps.png\",\"keywords\":[\"centos\",\"Dovecot\",\"exim\",\"mailserver\"],\"articleSection\":[\"CentOS\",\"Email Servers\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/\",\"name\":\"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/exim-vps.png\",\"datePublished\":\"2014-10-13T18:43:11+00:00\",\"dateModified\":\"2024-08-05T06:36:02+00:00\",\"description\":\"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/exim-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/exim-vps.png\",\"width\":302,\"height\":224,\"caption\":\"exim vps\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup a mailserver with Exim and Dovecot on a CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting","description":"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting","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:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/","og_locale":"en_US","og_type":"article","og_title":"Setup a mailserver with Exim and Dovecot on a CentOS 7","og_description":"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-10-13T18:43:11+00:00","article_modified_time":"2024-08-05T06:36:02+00:00","og_image":[{"width":302,"height":224,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Setup a mailserver with Exim and Dovecot on a CentOS 7","datePublished":"2014-10-13T18:43:11+00:00","dateModified":"2024-08-05T06:36:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/"},"wordCount":534,"commentCount":23,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png","keywords":["centos","Dovecot","exim","mailserver"],"articleSection":["CentOS","Email Servers","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/","name":"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png","datePublished":"2014-10-13T18:43:11+00:00","dateModified":"2024-08-05T06:36:02+00:00","description":"Setup a mailserver with Exim and Dovecot on a CentOS 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/exim-vps.png","width":302,"height":224,"caption":"exim vps"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/setup-a-mailserver-with-exim-and-dovecot-on-a-centos-7-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Setup a mailserver with Exim and Dovecot on a CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=4793"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4793\/revisions"}],"predecessor-version":[{"id":48879,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4793\/revisions\/48879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/3931"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=4793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=4793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=4793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}