{"id":103,"date":"2015-06-09T12:57:18","date_gmt":"2015-06-09T12:57:18","guid":{"rendered":"http:\/\/star.genuinewebhost.com\/~linuxguru\/tutorial\/?p=103"},"modified":"2025-07-10T03:20:12","modified_gmt":"2025-07-10T03:20:12","slug":"accessing-a-dovecot-imap-server-using-squirrelmail","status":"publish","type":"post","link":"http:\/\/shijuvarghese.com\/?p=103","title":{"rendered":"Accessing a dovecot imap server using SquirrelMail"},"content":{"rendered":"<p>Install an SMTP server and POP\/IMAP server using the following <a title=\"http:\/\/star.genuinewebhost.com\/~linuxguru\/tutorial\/?p=96\" href=\"http:\/\/\" target=\"_blank\">link<\/a><\/p>\n<p>Install http server and SquirrelMail<\/p>\n<ul>\n<li><strong>yum install httpd php<br \/>\n<\/strong><\/li>\n<\/ul>\n<p>Download the latest stable version of application (squirrelmail-webmail-1.4.22) from the SquirrelMail site<\/p>\n<p>copy it in the folder \/var\/www\/html<\/p>\n<p>Extract the tar file<\/p>\n<ul>\n<ul>\n<li><strong>tar -zxvf squirrelmail-webmail-1.4.22.tar.gz<\/strong><\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>mv squirrelmail-webmail-1.4.22 \/var\/www\/html\/webmail<\/strong><\/li>\n<\/ul>\n<p>Run the configuration script<\/p>\n<ul>\n<li><strong>\/var\/www\/html\/webmail\/config\/conf.pl<\/strong><\/li>\n<\/ul>\n<p>Go through the menus one by one, and remember change the following:<\/p>\n<ul>\n<li>Organization Name<\/li>\n<li>Domain<\/li>\n<li>Sendmail or SMTP<\/li>\n<li>Please select your IMAP server<\/li>\n<li>You may want to select\u00a0<strong>SSHA<\/strong> if you are using that for password encryptions<\/li>\n<\/ul>\n<p>Edit the httpd configuration file:<\/p>\n<ul>\n<li><strong>vi \/etc\/httpd\/conf\/httpd.conf<\/strong><\/li>\n<\/ul>\n<p>Add the following lines at the end<\/p>\n<ul>\n<li>Alias \/squirrelmail \/var\/www\/html\/webmail<br \/>\n&lt;Directory \/var\/www\/html\/webmail&gt;<br \/>\nOptions None<br \/>\nAllowOverride None<br \/>\nDirectoryIndex index.php<br \/>\nOrder Allow,Deny<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/*&gt;<br \/>\nDeny from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/scripts&gt;<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/images&gt;<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/plugins&gt;<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/src&gt;<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/templates&gt;<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/themes&gt;<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/contrib&gt;<br \/>\nOrder Deny,Allow<br \/>\nDeny from All<br \/>\nAllow from 127<br \/>\nAllow from 10<br \/>\nAllow from 192<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory \/var\/www\/html\/webmail\/doc&gt;<br \/>\nOrder Deny,Allow<br \/>\nDeny from All<br \/>\nAllow from 127<br \/>\nAllow from 10<br \/>\nAllow from 192<br \/>\n&lt;\/Directory&gt;<\/li>\n<\/ul>\n<p>Run the following commands:<\/p>\n<ul>\n<ul>\n<li><strong>mkdir -p \/var\/local\/squirrelmail\/data\/<\/strong><\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<ul>\n<li><strong>mkdir -p \/var\/local\/squirrelmail\/attach\/<\/strong><\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>chown -R apache \/var\/local\/squirrelmail<\/strong><\/li>\n<\/ul>\n<p>Restart apache<\/p>\n<ul>\n<ul>\n<li><strong>systemctl start httpd<\/strong><\/li>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>systemctl enable httpd<\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Install an SMTP server and POP\/IMAP server using the following link Install http server and SquirrelMail yum install httpd php Download the latest stable version <a class=\"mh-excerpt-more\" href=\"http:\/\/shijuvarghese.com\/?p=103\" title=\"Accessing a dovecot imap server using SquirrelMail\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":1820,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7],"tags":[],"class_list":["post-103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-postfix"],"_links":{"self":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=103"}],"version-history":[{"count":13,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":206,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions\/206"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/media\/1820"}],"wp:attachment":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}