Yes! 在自己的 home directory安裝openwebmail

感謝這位大哥!
http://www.bluewho.com/archive/index.php/t-2076.html

內容:

dynamicm
06-19-2004, 05:52 PM
I’ve been subscribed to the openwebmail sourceforge mailing list and I just got this today:

My web hosting is on a shared server, and I am wonering if I can install openwebmail
in my home directory? I don’t have root access to the server, just my home
directory.

[reply]

Yes, ofcourse you can.

There are two things you need to modify first:

1) Change all .pl files to point to /usr/bin/perl instead of suidperl,
i’ve used the following command to do this quickly:
sed ‘s/\#\!\/usr\/bin\/suidperl/\#\!\/usr\/bin\/perl/’ -i *.pl

2) Change all the .pl files to search for the openwebmail_etc.conf
to your own home dir. By default it looks for it in /etc. i’ve
used the following command to modify the files quickly:
sed ‘s/\/etc\/openwebmail_path.conf/\/home\/USER\/www\/cgi\-bin\/openwebmail\/et
c\/openwebmail_path.conf/’ -i *.pl
(make sure you change USER into your own username)

The rest is the same. The only other catch, is if your hosting
provider does not allow you to SSH to the server, which means
you may need to create a PHP or Perl script to execute
the –init command thats required.

Hope this might help!

Advertisements

One Response to “Yes! 在自己的 home directory安裝openwebmail”

  1. klhsieh Says:

    我是在google”web hosting openwebmail”時,在第一頁就意外看到的

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: