{"id":615,"date":"2011-03-15T07:51:55","date_gmt":"2011-03-15T07:51:55","guid":{"rendered":"http:\/\/www.esds.co.in\/data-centers\/kb\/?p=615"},"modified":"2015-06-22T11:20:48","modified_gmt":"2015-06-22T11:20:48","slug":"the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/","title":{"rendered":"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3]"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-617\" title=\"DebianLogo\" alt=\"\" src=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/DebianLogo.png\" width=\"675\" height=\"56\" \/><\/p>\n<p>This post is about preparing Debian Squeeze (Debian 6.0) server to complete the work with a hosting control panel. ISPConfig 3 is a web control panel that lets you customize the following services through a web browser: web server Apache, Postfix mail server, MySQL, BIND, PureFTPd, SpamAssassin, ClamAV, and many more.<\/p>\n<p><strong>OpenVZ<\/strong><\/p>\n<p>If you installed the Perfect Server &#8211; Debian 6.0 [ISPConfig 3] is the establishment of a car OpenVZ (virtual machine OpenVZ), you must do it on a host system (I guess that OpenVZ container ID 101 &#8211; replace it correctly with VPSID on your system):<\/p>\n<p><em>VPSID = 101<br \/>\nfor CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE<br \/>\ndo<br \/>\nvzctl set $ VPSID &#8211; capability $ {CAP}: on &#8211; save<br \/>\ndone<\/em><\/p>\n<p><strong>SquirrelMail<\/strong><\/p>\n<p>Many people complain about the problems (such as getting 404 error Not Found ) using Web mail package SquirrelMail on their Web sites created by ISPConfig 3. This guide explains how to configure SquirrelMail on a server Debian Squeeze so that you can use it to your web site (created by ISPConfig).<\/p>\n<p><strong>Log that would be to read hidden text<\/strong><br \/>\n<em><br \/>\ncd \/ etc\/apache2\/conf.d \/<br \/>\nln-s .. \/ .. \/ squirrelmail \/ apache.conf squirrelmail.conf<br \/>\n\/ Etc\/init.d\/apache2 reload<\/em><\/p>\n<p>Now &#8211; \/ etc\/apache2\/conf.d\/squirrelmail.conf defines an alias \/ squirrelmail, which indicates the installation directory of SquirrelMail in \/ usr \/ share \/ squirrelmail.<\/p>\n<p>Now go to the line of PHP open_basedir settings in the tabs of your Web site in ISPConfig 3 and add the directories \/ usr \/ share \/ squirrelmail and \/ etc \/ squirrelmail (the directory in which the SquirrelMail configuration is stored) in a row, for example, as follows:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-616\" title=\"customize-ISPConfig-Debian-6.0\" alt=\"\" src=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/customize-ISPConfig-Debian-6.0.png\" width=\"675\" height=\"490\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/customize-ISPConfig-Debian-6.0.png 800w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/customize-ISPConfig-Debian-6.0-300x217.png 300w\" sizes=\"(max-width: 675px) 100vw, 675px\" \/><\/p>\n<p>Wait for two or three minutes until ISPConfig 3 update site configuration. Now you can access SquirrelMail from your site to read by typing the link in the browser desktop PC:<\/p>\n<p><em>http:\/\/www.example.com\/squirrelmail<\/em><\/p>\n<p>You can also access from the control panel ISPConfig virtual host as follows:<\/p>\n<p><em>http:\/\/server1.example.com:8080\/squirrelmail<\/em><\/p>\n<p>If you would like to use a pseudonym for Web mail &#8211; \/ SquirrelMail, just open \/ etc\/apache2\/conf.d\/squirrelmail.conf &#8230;<\/p>\n<p><em>nano \/ etc\/apache2\/conf.d\/squirrelmail.conf<\/em><\/p>\n<p>&#8230; and add the line Alias ??\/ webmail \/ usr \/ share \/ squirrelmail :<\/p>\n<p>Alias ??\/ squirrelmail \/ usr \/ share \/ squirrelmail Alias ??\/ webmail \/ usr \/ share \/ squirrelmail &lt;Directory \/usr\/share\/squirrelmail&gt; Options FollowSymLinks &lt;IfModule mod_php5.c&gt; php_flag register_globals off &lt;\/ IfModule&gt; &lt;IfModule mod_dir.c&gt; DirectoryIndex index . php &lt;\/ IfModule&gt; # access to configtest is limited by default to prevent information leak &lt;Files configtest.php&gt; order deny, allow deny from all allow from 127.0.0.1 &lt;\/ Files&gt; &lt;\/ Directory&gt; # users will prefer a simple URL like http:\/\/webmail.example.com # &lt;VirtualHost 1.2.3.4&gt; # DocumentRoot \/ usr \/ share \/ squirrelmail # ServerName webmail.example.com # &lt;\/ VirtualHost&gt; # redirect to https when available.<\/p>\n<p><strong>Note: <\/strong>There are multiple ways to do this, but choose the configuration that is suitable for # your site. Consult the apache documentation if # you&#8217;re unsure, as this example might not work everywhere. # # &lt;IfModule Mod_rewrite.c&gt; # &lt;IfModule mod_ssl.c&gt; # &lt;Location \/squirrelmail&gt; # RewriteEngine on # RewriteCond% {HTTPS}! ^ On $ [NC] # RewriteRule. https :\/\/%{ HTTP_HOST}% {REQUEST_URI} [L] # &lt;\/ Location&gt; # &lt;\/ IfModule&gt; # &lt;\/ IfModule&gt;<\/p>\n<p><strong>Then restart Apache:<\/strong><br \/>\n<em><br \/>\n\/ Etc\/init.d\/apache2 reload<\/em><\/p>\n<p><strong>Now you can access Squirrelmail as follows:<\/strong><\/p>\n<p><em>http:\/\/www.example.com\/webmail<br \/>\nhttp:\/\/server1.example.com:8080\/webmail<\/em><\/p>\n<p>If you want to define a virtual host, as webmail.example.com , where users can access SquirrelMail, you will have to add the following virtual host configuration to \/ etc\/apache2\/conf.d\/squirrelmail.conf :<\/p>\n<p>nano \/ etc\/apache2\/conf.d\/squirrelmail.conf<br \/>\n[&#8230;] &lt;VirtualHost 1.2.3.4:80&gt; DocumentRoot \/ usr \/ share \/ squirrelmail ServerName webmail.example.com &lt;\/ VirtualHost&gt;<\/p>\n<p>Make sure you replace 1.2.3.4 to the correct IP address of your server, and Apply for a DNS entry for webmail.example.com , which indicates the same that refers to the IP address that you use in your virtual host configuration. Also make sure that the virtual host webmail.example.com does not exist in the <strong>Dedicated Hosting Control Panel<\/strong> ISPConfig 3 (otherwise virtual domains will interfere with each other!).<\/p>\n<p><strong>Now restart Apache &#8230;<\/strong><br \/>\n<em><br \/>\n\/ Etc\/init.d\/apache2 reload<\/em><\/p>\n<p>&#8230; and you will be able to access SquirrelMail via http:\/\/webmail.example.com !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post is about preparing Debian Squeeze (Debian 6.0) server to complete the work with a hosting control panel. ISPConfig 3 is a web control panel that lets you customize the following services through a web browser: web server Apache, Postfix mail server, MySQL, BIND, PureFTPd, SpamAssassin, ClamAV, and many more. OpenVZ If you installed&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\" class=\"gdlr-button small excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[69],"tags":[251,77,252,253,254],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.9.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3]<\/title>\n<meta name=\"description\" content=\"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3] KB post is about preparing Debian Squeeze (Debian 6.0) server to complete the work with a hosting control panel\" \/>\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.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3]\" \/>\n<meta property=\"og:description\" content=\"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3] KB post is about preparing Debian Squeeze (Debian 6.0) server to complete the work with a hosting control panel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\" \/>\n<meta property=\"og:site_name\" content=\"ESDS Official Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ESDSdc\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-03-15T07:51:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-06-22T11:20:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/DebianLogo.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:site\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"4 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"ESDS Official Knowledgebase\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.esds.co.in\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2011\/03\/DebianLogo.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/#webpage\",\"url\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\",\"name\":\"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3]\",\"isPartOf\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/#primaryimage\"},\"datePublished\":\"2011-03-15T07:51:55+00:00\",\"dateModified\":\"2015-06-22T11:20:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/d951a1b6843822458f3c5f5ee02a74e8\"},\"description\":\"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3] KB post is about preparing Debian Squeeze (Debian 6.0) server to complete the work with a hosting control panel\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/the-perfect-server-debian-6-0-with-bind-and-courier-ispconfig-3\/\",\"name\":\"The Perfect Server: Debian 6.0 with BIND and Courier [ISPConfig 3]\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/d951a1b6843822458f3c5f5ee02a74e8\",\"name\":\"ESDS ADMIN\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5618393df3c15e5b6b3b9ef917e83827?s=96&d=mm&r=g\",\"caption\":\"ESDS ADMIN\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/615"}],"collection":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/comments?post=615"}],"version-history":[{"count":11,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/615\/revisions"}],"predecessor-version":[{"id":2815,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/615\/revisions\/2815"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/media?parent=615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/categories?post=615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/tags?post=615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}