Web Hosting Talk







View Full Version : Can SquirrelMail be used on just one virt domain?


Christopher
01-14-2002, 12:23 PM
Can SquirrelMail be used on just one virtual domain (on a raq 4i) without affecting any of the other domain's email?

If so, what directory do I put it in?

Thanks,

Chris

ffeingol
01-14-2002, 01:53 PM
Sure, why not ;).

Just install it under that sites web directory (in a directory like "mail" or something else).

Frank

Christopher
01-14-2002, 02:12 PM
Just wanted to make sure, thank you.

The install seemed to go well, and I ran the config.pl, left defaults in place where I was unsure.

It uses the username/passwords for the websites users as put in through the raq panel, correct? So if I have a user: sysadmin and their password is: test I should be able to use that to log into squirrelmail if I understand this correctly. But when I try I get:
---------
Error opening ../data/default_pref
Could not create initial preference file!
Please contact your system administrator and report this error.
---------

hmmm, big trouble since I am the system administrator! :)

The config is below, I was unsure of things like what imap server we have on raq 4i's. Do you see anything wrong here?

Thanks for the help!

Chris



--snip--

global $domain, $imapServerAddress, $imapPort;
global $useSendmail, $smtpServerAddress, $smtpPort;
global $sendmail_path, $use_authenticated_smtp;
global $imap_server_type, $invert_time;
global $optional_delimiter;
$domain = 'mydomain.com/yourmail';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$use_authenticated_smtp = false;
$imap_server_type = 'cyrus';
$invert_time = false;
$optional_delimiter = 'detect';

--snip--

microsol
01-14-2002, 10:48 PM
Originally posted by Christopher
[B]Just wanted to make sure, thank you.

The install seemed to go well, and I ran the config.pl, left defaults in place where I was unsure.

It uses the username/passwords for the websites users as put in through the raq panel, correct? So if I have a user: sysadmin and their password is: test I should be able to use that to log into squirrelmail if I understand this correctly. But when I try I get:
---------
Error opening ../data/default_pref
Could not create initial preference file!
Please contact your system administrator and report this error.
---------

hmmm, big trouble since I am the system administrator! :)

The config is below, I was unsure of things like what imap server we have on raq 4i's. Do you see anything wrong here?

Thanks for the help!

Chris



You did not read the install docs!

ffeingol
01-14-2002, 11:05 PM
Yep, the doc explains how to set the permissions/ownership on the data directory.

Frank

Christopher
01-14-2002, 11:53 PM
Oh - you are exactly right.

I overlooked the install file, just followed the install directions on their website and thought that was it -

Chris