jspiker
2003-11-19, 22:48 PM
Hi! I am trying to install hivemail and everything is fine except I am unsure how to use telnet/ssh. Do you use your ftp login name/password to logon? I also dont know where the valias file is located. Basically I have done everything and the only remaining step is below. Thanks
And last but not least, we need to 'tell' the server to direct all mail to the script you just uploaded. To do so, we edit the valias file for your Web site. This file is usually located at /etc/valiases/example.com, but it might be different on your server. Ask your host if you are not sure there this file is. Once you know the file location, log in to telnet or SSH and type the following:
pico /etc/valiases/example.com (replace the path with the real path). If you can't use pico, try using the vi text editor by typing: vi /etc/valiases/example.com.
In that file, you need to add a new line, that looks like this:
*: |/home/example/hivemail_process.php
Where /home/example/hivemail_process.php is the complete path to the hivemail_process.php file you uploaded earlier. If you are not sure where this file is located, type this command (outside of the file editor) to find where it is:
find / -name hivemail_process.php -print 2>/dev/null
For example, if your file is at /home/hivemail/etc/hivemail_process.php, this is the line you will add to your valias file:
*: |/home/hivemail/etc/hivemail_process.php
After you added the line, save the file and exit the file editor.
And last but not least, we need to 'tell' the server to direct all mail to the script you just uploaded. To do so, we edit the valias file for your Web site. This file is usually located at /etc/valiases/example.com, but it might be different on your server. Ask your host if you are not sure there this file is. Once you know the file location, log in to telnet or SSH and type the following:
pico /etc/valiases/example.com (replace the path with the real path). If you can't use pico, try using the vi text editor by typing: vi /etc/valiases/example.com.
In that file, you need to add a new line, that looks like this:
*: |/home/example/hivemail_process.php
Where /home/example/hivemail_process.php is the complete path to the hivemail_process.php file you uploaded earlier. If you are not sure where this file is located, type this command (outside of the file editor) to find where it is:
find / -name hivemail_process.php -print 2>/dev/null
For example, if your file is at /home/hivemail/etc/hivemail_process.php, this is the line you will add to your valias file:
*: |/home/hivemail/etc/hivemail_process.php
After you added the line, save the file and exit the file editor.