{"id":6826,"date":"2014-11-03T16:28:47","date_gmt":"2014-11-03T10:58:47","guid":{"rendered":"http:\/\/blog.resellerclub.com\/?p=6826"},"modified":"2025-10-24T14:04:34","modified_gmt":"2025-10-24T14:04:34","slug":"how-to-configure-an-email-server-for-a-vps-hosting-package","status":"publish","type":"post","link":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/","title":{"rendered":"How to configure an email server for a VPS Hosting package"},"content":{"rendered":"<p><strong>How to configure an email server for a VPS Hosting package<\/strong><\/p>\n<p>Email is and will continue to remain one of the most widely used social interaction platforms. This probably explains why Facebook, Twitter and other popular social media platforms still send emails on latest trends, friend requests or other important notifications &#8211; it is that most internet users treat emails with more importance than a notification on a website.<\/p>\n<p>In this tutorial, I will show you&nbsp;how you can quickly configure an email server for your <a href=\"http:\/\/www.resellerclub.com\/products\/vps-hosting\" target=\"_blank\" rel=\"noopener\">VPS <\/a>package to send out emails.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Step1<\/strong><\/span>: Log into your VPS server and Install postfix<\/p>\n<p>Postfix is an opensource email server which is freely available and easy to install.<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>sudo yum install postfix<\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Step2<\/strong><\/span>: Configure your postfix email server<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>sudo vim \/etc\/postfix\/main.cf<\/p>\n<p>#Uncomment the following lines<\/p>\n<p>myhostname = yourhostname.com<br \/>\nmyorigin = $myhostname<br \/>\ninet_interfaces = localhost<br \/>\ninet_protocols = ipv4<br \/>\nmydestination = $myhostname, localhost.$mydomain, localhost<br \/>\nmynetworks_style = host<\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Step3<\/strong><\/span>: Start your server<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>service postfix start<\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p>Test email sending from your server<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>echo \u201ctest\u201d | mail -s \u201cTest mail \u201c <a href=\"mailto:youremailid@yourserver.com\">youremailid@yourserver.com<\/a><\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p>You can also have your server connect to your email service to send emails.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Step1<\/strong> <\/span>Open postfix configuration files.<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>vim \/etc\/postfix\/main.cf<\/p>\n<p>#uncomment\/add the following lines with your details<\/p>\n<p>relayhost = [smtp.youremailserver.com]\nsmtp_sasl_auth_enable = yes<br \/>\nsmtp_sasl_password_maps=static:your_username:your_password<br \/>\nsmtp_sasl_security_options=noanonymous<\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p>Install the \u201cSASL\u201d Authentication plugin<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>sudo yum install cyrus-sasl-plain<\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Step2<\/strong><\/span> Restart your server<\/p>\n<p>&lt;pre&gt;<\/p>\n<p>service postfix restart<\/p>\n<p>&lt;\/pre&gt;<\/p>\n<p>And you are done! Isn\u2019t it really simple? If this article helped you, or if you\u2019d like us to cover other how-to\u2019s in the coming weeks, feel free to share your thoughts in the comments below.<\/p>\n<p>&nbsp;<\/p>\n<h2>Reseller Club Hosting Services<\/h2>\n<p><a href=\"https:\/\/www.resellerclub.com\/reseller-hosting\">Reseller Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-reseller-hosting\">Windows Reseller Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/cloud-hosting\">Cloud Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/vps-hosting\">VPS Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/managed-vps-hosting\">Managed VPS Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/dedicated-server-hosting\">Dedicated Server Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-dedicated-server-hosting\">Windows Dedicated Server<\/a> | <a href=\"https:\/\/www.resellerclub.com\/managed-dedicated-server-hosting\">Managed Dedicated Server<\/a> | <a href=\"https:\/\/www.resellerclub.com\/shared-hosting\">Linux Shared Hosting<\/a> | <a href=\"https:\/\/www.resellerclub.com\/windows-shared-hosting\">Windows Shared Hosting<\/a><\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/\"\n\t\t\t  \tdata-numposts = \"10\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"social\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>How to configure an email server for a VPS Hosting package Email is and will continue to remain one of the most widely used social interaction platforms. This probably explains why Facebook, Twitter and other popular social media platforms still send emails on latest trends, friend requests or other important notifications &#8211; it is that<\/p>\n","protected":false},"author":37,"featured_media":6827,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_has_post_settings":[],"_rc_manual_related_posts":[],"footnotes":""},"categories":[812,995],"tags":[769,45,56,768,767,288,40],"hashtags":[],"class_list":["post-6826","post","type-post","status-publish","format-standard","has-post-thumbnail","category-email","category-hosting","tag-diy","tag-email-hosting","tag-email-hosting-packages","tag-email-server","tag-email-setup","tag-emails","tag-resellerclub"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to configure an email server for a VPS Hosting package<\/title>\n<meta name=\"description\" content=\"This step by step tutorial will guide you on how you can quickly configure an email server for your VPS package to send out emails.\" \/>\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.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure an email server for a VPS Hosting package\" \/>\n<meta property=\"og:description\" content=\"This step by step tutorial will guide you on how you can quickly configure an email server for your VPS package to send out emails.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/\" \/>\n<meta property=\"og:site_name\" content=\"ResellerClub Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100005889763273\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-03T10:58:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-24T14:04:34+00:00\" \/>\n<meta name=\"author\" content=\"Leonard Gonsalves\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Leonard Gonsalves\" \/>\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:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/\"},\"author\":{\"name\":\"Leonard Gonsalves\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#\\\/schema\\\/person\\\/7802fd99e7d56815741236e29b39fcd0\"},\"headline\":\"How to configure an email server for a VPS Hosting package\",\"datePublished\":\"2014-11-03T10:58:47+00:00\",\"dateModified\":\"2025-10-24T14:04:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/\"},\"wordCount\":372,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#primaryimage\"},\"thumbnailUrl\":\"\",\"keywords\":[\"diy\",\"email hosting\",\"Email Hosting Packages\",\"email server\",\"email setup\",\"emails\",\"resellerclub\"],\"articleSection\":[\"Email\",\"Web Hosting Blogs\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/\",\"url\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/\",\"name\":\"How to configure an email server for a VPS Hosting package\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2014-11-03T10:58:47+00:00\",\"dateModified\":\"2025-10-24T14:04:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#\\\/schema\\\/person\\\/7802fd99e7d56815741236e29b39fcd0\"},\"description\":\"This step by step tutorial will guide you on how you can quickly configure an email server for your VPS package to send out emails.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/how-to-configure-an-email-server-for-a-vps-hosting-package\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure an email server for a VPS Hosting package\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/\",\"name\":\"ResellerClub Blog\",\"description\":\"Web Hosting &amp; Domains\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/#\\\/schema\\\/person\\\/7802fd99e7d56815741236e29b39fcd0\",\"name\":\"Leonard Gonsalves\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g\",\"caption\":\"Leonard Gonsalves\"},\"url\":\"https:\\\/\\\/www.resellerclub.com\\\/blog\\\/author\\\/leonard-g\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure an email server for a VPS Hosting package","description":"This step by step tutorial will guide you on how you can quickly configure an email server for your VPS package to send out emails.","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.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/","og_locale":"en_US","og_type":"article","og_title":"How to configure an email server for a VPS Hosting package","og_description":"This step by step tutorial will guide you on how you can quickly configure an email server for your VPS package to send out emails.","og_url":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/","og_site_name":"ResellerClub Blog","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=100005889763273","article_published_time":"2014-11-03T10:58:47+00:00","article_modified_time":"2025-10-24T14:04:34+00:00","author":"Leonard Gonsalves","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Leonard Gonsalves","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#article","isPartOf":{"@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/"},"author":{"name":"Leonard Gonsalves","@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/7802fd99e7d56815741236e29b39fcd0"},"headline":"How to configure an email server for a VPS Hosting package","datePublished":"2014-11-03T10:58:47+00:00","dateModified":"2025-10-24T14:04:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/"},"wordCount":372,"commentCount":0,"image":{"@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#primaryimage"},"thumbnailUrl":"","keywords":["diy","email hosting","Email Hosting Packages","email server","email setup","emails","resellerclub"],"articleSection":["Email","Web Hosting Blogs"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/","url":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/","name":"How to configure an email server for a VPS Hosting package","isPartOf":{"@id":"https:\/\/www.resellerclub.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#primaryimage"},"image":{"@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#primaryimage"},"thumbnailUrl":"","datePublished":"2014-11-03T10:58:47+00:00","dateModified":"2025-10-24T14:04:34+00:00","author":{"@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/7802fd99e7d56815741236e29b39fcd0"},"description":"This step by step tutorial will guide you on how you can quickly configure an email server for your VPS package to send out emails.","breadcrumb":{"@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.resellerclub.com\/blog\/how-to-configure-an-email-server-for-a-vps-hosting-package\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.resellerclub.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure an email server for a VPS Hosting package"}]},{"@type":"WebSite","@id":"https:\/\/www.resellerclub.com\/blog\/#website","url":"https:\/\/www.resellerclub.com\/blog\/","name":"ResellerClub Blog","description":"Web Hosting &amp; Domains","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.resellerclub.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.resellerclub.com\/blog\/#\/schema\/person\/7802fd99e7d56815741236e29b39fcd0","name":"Leonard Gonsalves","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/212b06edc915aa36020342276df4def83ce71ec30c1af601b3f1240ce9bb8c08?s=96&d=mm&r=g","caption":"Leonard Gonsalves"},"url":"https:\/\/www.resellerclub.com\/blog\/author\/leonard-g\/"}]}},"_links":{"self":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/6826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/comments?post=6826"}],"version-history":[{"count":3,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/6826\/revisions"}],"predecessor-version":[{"id":38766,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/posts\/6826\/revisions\/38766"}],"wp:attachment":[{"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/media?parent=6826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/categories?post=6826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/tags?post=6826"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/www.resellerclub.com\/blog\/wp-json\/wp\/v2\/hashtags?post=6826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}