{"id":1,"date":"2008-01-11T23:55:42","date_gmt":"2008-01-12T05:55:42","guid":{"rendered":"http:\/\/www.xux.in\/blog\/?p=1"},"modified":"2008-03-24T14:07:58","modified_gmt":"2008-03-24T20:07:58","slug":"neomail-install-on-cobalt-raqs-very-obsolete","status":"publish","type":"post","link":"http:\/\/xux.in\/blog\/post\/neomail-install-on-cobalt-raqs-very-obsolete\/","title":{"rendered":"Neomail install on Cobalt Raqs (VERY Obsolete)"},"content":{"rendered":"<p>This is an old guide I wrote many years ago (2001). It will let you install Neomail on <a href=\"http:\/\/www.sun.com\/hardware\/serverappliances\/eol.html\">Cobalt Raqs<\/a> 100% painless. Don&#8217;t try this at home.<\/p>\n<p><!--more--><\/p>\n<pre lang=\"none\">\r\n##### Intro\r\n\r\nBefore you start maybe you should read some documentation related to cgi-wrap\r\n\r\nin order to understand its functions. You can visit http:\/\/cgiwrap.unixtools.org\/\r\n\r\nwhere the author Nathan Neulinger has everything you need to know about\r\n\r\ncgi-wraps.##### Step 1\r\n\r\n - open \/etc\/httpd\/conf\/httpd.conf\r\n\r\n - Lets play with the virtual domain you'll use.\r\n\r\n<virtualhost>\r\n\r\n ServerName webmail.mydomain.com\r\n\r\n ServerAdmin admin\r\n\r\n DocumentRoot \/home\/sites\/site25\/web\r\n\r\n RewriteEngine on\r\n\r\n RewriteCond %{HTTP_HOST}                !^10.11.1.28(:80)?$\r\n\r\n RewriteCond %{HTTP_HOST}                !^webmail.mydomain.com(:80)?$\r\n\r\n RewriteRule ^\/(.*)                      http:\/\/webmail.mydomain.com\/$1\r\n\r\n [L,R]\r\n\r\n RewriteOptions inherit\r\n\r\n AliasMatch ^\/~([^\/]+)(\/(.*))? \/home\/sites\/site25\/users\/$1\/web\/$3\r\n\r\n AliasMatch ^\/users\/([^\/]+)(\/(.*))? \/home\/sites\/site25\/users\/$1\/web\/$3<\/virtualhost>\r\n\r\n##### This 2 lines are commented out, because cgi-wrap won't\r\n\r\n ##### let us play with files under root permissions ;)\r\n\r\n ##### and why both? well it depends on how you like to\r\n\r\n ##### see your perl scripts running, if you are gonna use .pl\r\n\r\n ##### extensions then you only comment out the second line.\r\n\r\n ##AddHandler cgi-wrapper .cgi\r\n\r\n ##AddHandler cgi-wrapper .pl\r\n\r\n##### Now, this lines need to be added in order to kick cgi-wraps out!\r\n\r\n AddHandler cgi-script .cgi\r\n\r\n AddHandler cgi-script .pl\r\n\r\n #####\r\n\r\nAddHandler server-parsed .shtml\r\n\r\n AddType    text\/html     .shtml\r\n\r\n ##### End of Step 1\r\n\r\n ========================================\r\n\r\n##### Step 2\r\n\r\n - open \/etc\/httpd\/conf\/srm.conf\r\n\r\n - We'll add some special permissions to the directories.\r\n\r\n - Place this piece of code wherever you want.\r\n\r\n<directory>\r\n\r\n       AllowOverride None\r\n\r\n       Options None\r\n\r\n       Order allow,deny\r\n\r\n       Allow from all\r\n\r\n       Options +ExecCGI\r\n\r\n <\/directory>\r\n\r\n##### End of Step 2\r\n\r\n ========================================\r\n\r\n##### Step 3\r\n\r\n - Final Tips\r\n\r\nAfter you have kicked out cgiwrap from your site, there could be permissions errors, the problem is in these 3 files:\r\n\r\nneomail.pl, neomail-prefs.pl, checklogin.pl\r\n\r\nNeomail Install's file tells you that you should set your files like this (if you didn't run setup.pl):\r\n\r\nneomail.pl (chmod 755 neomail.pl | chmod g+s neomail.pl)\r\n\r\nneomail-prefs.pl (chmod 755 neomail-prefs.pl | chmod g+s neomail-prefs.pl)\r\n\r\nchecklogin.pl (chmod 4755 checklogin.pl)\r\n\r\nand there is something really fun, it won't work!\r\n\r\nFiles should be set like this (ONLY FOR COBALT SERVERS):\r\n\r\nneomail.pl (chmod 4755 neomail.pl)\r\n\r\nneomail-prefs.pl (chmod 4755 neomail-prefs.pl)\r\n\r\nchecklogin.pl (chmod 755 checklogin.pl)\r\n\r\nExtra Steps\/Tips ??? Don't forget to reload httpd server by typing:\r\n\r\n'\/etc\/rc.d\/init.d\/httpd restart' (I know you are smart and you won't\r\n\r\nuse quotes ;P )\r\n\r\n* All this changes only affect to one single virtual domain, so you\r\n\r\nwon't mess up with other virtual domains.... DON'T DELETE ANYTHING,\r\n\r\nJUST COMMENT OUT LINES, if it didn't work you'll know what to do.\r\n\r\n* This worked fine with Cobalt Raq3\/3i and I guess it could work with\r\n\r\nother Cobalt Servers.\r\n\r\n* I'm not responsable for any damage caused by this documentation, for further\r\n\r\ninformation contact me.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is an old guide I wrote many years ago (2001). It will let you install Neomail on Cobalt Raqs 100% painless. Don&#8217;t try this at home.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,8,5],"tags":[7,4],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-code","category-linux","category-software","tag-neomail","tag-perl"],"_links":{"self":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":0,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"wp:attachment":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}