I am trying to insall squirrelmail using yum on RD9.
rpm -ivh squirrelmail-1.4.3-0.f0.9.1.legacy.noarch.rpm
Preparing... ########################################### [100%]
package squirrelmail-1.4.3-0.f0.9.1.legacy is already installed
---------------
whereis squirrelmail
squirrelmail: /etc/squirrelmail /usr/share/squirrelmail
squirrelmail, does not show up in PSA 7.1 panel
I would like to install it in /var/httpd/hosts/webmail
I don't know what to do next. I am not familiar with yum.
thanks
squirrelmail installation
I did use your rpm using yum. I don't care if it part of the PSA, but I would still like to finish installation so it would run in ../vhosts/webmail.
If I can do this than all I need to do is change the index.html redirect to point to squirrmail instead of horde. Any ideas what I need to do next with this installation. Thanks
If I can do this than all I need to do is change the index.html redirect to point to squirrmail instead of horde. Any ideas what I need to do next with this installation. Thanks
scott
I do not follow. Your installer did not take care of it. Like I said in my first post all I got is a squirremail in this directories
/etc/squirrelmail
/usr/share/squirrelmail
how can I use this. my websites are in /home/httpd/vhosts
how do I finish this installation to place squirrelmail in
/home/httpd/vhosts/webmail/squirremail
I do not follow. Your installer did not take care of it. Like I said in my first post all I got is a squirremail in this directories
/etc/squirrelmail
/usr/share/squirrelmail
how can I use this. my websites are in /home/httpd/vhosts
how do I finish this installation to place squirrelmail in
/home/httpd/vhosts/webmail/squirremail
if you use the standard Redhat RPM you have to do a few things. All below is tested with RHEL3:
change /etc/squirrelmail/config_local.php to:
change some things in the /etc/squirrelmail/config.php. Below is a part of my config.php
add squirrelmail.conf to /etc/httpd/conf.d/
with the contents:
reboot apache and you will see squirrelmail instead of horde when accessing http://webmail.domain.com
maybe I forget a few details but you this will get you started....
(most of these things are done in the RPM of ART)
change /etc/squirrelmail/config_local.php to:
Code: Select all
<?php
/* Local config overrides.
You can override the config.php settings here. Don't do it unless you
know what you're doing.
Use standard PHP syntax, see config.php for examples. */
$domain = eregi_replace("^webmail\.", "",
$_SERVER["HTTP_HOST"]);
if(!$dir = @opendir("/var/lib/squirrelmail/prefs//$domain"))
mkdir("/var/lib/squirrelmail/prefs//$domain", 0777);
if(!$dir = @opendir("/var/spool/squirrelmail/attach//$domain"))
mkdir("/var/spool/squirrelmail/attach//$domain", 0777);
$data_dir = "/var/lib/squirrelmail/prefs//$domain";
$attachment_dir = "/var/spool/squirrelmail/attach//$domain";
?>
Code: Select all
$domain = '""';
$imapServerAddress = '127.0.0.1';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'courier';
$invert_time = false;
$optional_delimiter = '.';
$default_folder_prefix = 'INBOX.';
$trash_folder = 'Trash';
$sent_folder = 'Sent';
$draft_folder = 'Drafts';
$default_move_to_trash = true;
$default_move_to_sent = true;
$default_save_as_draft = true;
$show_prefix_option = false;
$list_special_folders_first = true;
$use_special_folder_color = true;
$auto_expunge = true;
$default_sub_of_inbox = false;
$show_contain_subfolders_option = false;
$default_unseen_notify = 2;
$default_unseen_type = 1;
$auto_create_special = true;
$delete_folder = true;
$noselect_fix_enable = false;
$default_charset = 'iso-8859-1';
$data_dir = '/var/lib/squirrelmail/prefs//data/$domain';
$attachment_dir = '/var/spool/squirrelmail/attach//$domain';
$dir_hash_level = 0;
$default_left_size = '150';
$force_username_lowercase = false;
$default_use_priority = true;
$hide_sm_attributions = false;
$default_use_mdn = true;
$edit_identity = true;
$edit_name = true;
$allow_thread_sort = true;
$allow_server_sort = true;
$allow_charset_search = true;
$uid_support = true;
with the contents:
Code: Select all
Alias /horde /usr/share/squirrelmail
<Directory /usr/share/squirrelmail>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_value safe_mode off
php_value session.save_handler files
# php_admin_value open_basedir "/"
</Directory>
maybe I forget a few details but you this will get you started....
(most of these things are done in the RPM of ART)