Re: squirrelmail fails to start (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tomas,


Problem solved.  Squirrelmail is now working.


- snip -
 
> > $ ls -l /var/local/
> > total 0
> > 
> > 
> > Shall I create /var/local/squirrelmail/data
> > ???
> > 
> > What will be their permission?
> > 
> 
> Directory must be writable by web server.
> 
> If you are not using PHP safe_mode, it should be owned by www-data,
> group =
> www-data, permissions = 0750. If you are using PHP safe_mode,
> directory
> should be owned by same user that owns other SquirrelMail scripts,
> group =
> www-data, permissions 0770
> 
> mkdir /var/local/squirrelmail/data
> chown www-data:www-data /var/local/squirrelmail/data
> chmod 0750 /var/local/squirrelmail/data
> 
> same thing applies to attachment directory.


Re-ran ./conf.pl


$ cd /usr/local/squirrelmail/www/config
$ su
Password
# mv config.php config.php.bak

# ./conf.pl 
Main Menu --
1.  Organization Preferences
2.  Server Settings
3.  Folder Defaults
4.  General Options
5.  Themes
6.  Address Books
7.  Message of the Day (MOTD)
8.  Plugins
9.  Database
10. Languages

D.  Set pre-defined settings for specific IMAP servers

C   Turn color on
S   Save data
Q   Quit


Command >> D [Enter]

Command >> courier [Enter]

              imap_server_type = courier
         default_folder_prefix = INBOX.
                  trash_folder = Trash
                   sent_folder = Sent
                  draft_folder = Drafts
            show_prefix_option = false
          default_sub_of_inbox = false
show_contain_subfolders_option = false
            optional_delimiter = .
                 delete_folder = true

Press any key to continue...


Command >> 2 [Enter]
Server Settings

General
-------
1.  Domain                 : example.com
2.  Invert Time            : false
3.  Sendmail or SMTP       : SMTP

A.  Update IMAP Settings   : localhost:143 (courier)
B.  Update SMTP Settings   : localhost:25


Command >> 1 [Enter]

[example.com]: domain.com [Enter]


Command >> 4 [Enter]

General Options
1.  Data Directory              : /var/local/squirrelmail/data/
2.  Attachment Directory        : /var/local/squirrelmail/attach/
3.  Directory Hash Level        : 0
4.  Default Left Size           : 150
5.  Usernames in Lowercase      : false
6.  Allow use of priority       : true
7.  Hide SM attributions        : false
8.  Allow use of receipts       : true
9.  Allow editing of identity   : true
    Allow editing of name       : true
    Remove username from header : false
10. Allow server thread sort    : false
11. Allow server-side sorting   : false
12. Allow server charset search : true
13. Enable UID support          : true
14. PHP session name            : SQMSESSID
15. Location base               : 


I also retain "Attachment Directory" default


Command >> R [Enter]


Command >> S [Enter]

Data saved in config.php
Press enter to continue...

Command >> Q


Exiting conf.pl.
You might want to test your configuration by browsing to
http://your-squirrelmail-location/src/configtest.php
Happy SquirrelMailing!


# mkdir -p /var/local/squirrelmail/data
# chown www-data:www-data -c /var/local/squirrelmail/data
changed ownership of `/var/local/squirrelmail/data' to
www-data:www-data

# chmod 0750 -c /var/local/squirrelmail/data
mode of `/var/local/squirrelmail/data' changed to 0750 (rwxr-x---)


# mkdir /var/local/squirrelmail/attach
# chown www-data:www-data -c /var/local/squirrelmail/attach
changed ownership of `/var/local/squirrelmail/attach' to
www-data:www-data

# chmod 0750 -c /var/local/squirrelmail/attach
mode of `/var/local/squirrelmail/attach' changed to 0750 (rwxr-x---)


On Firefox
https://localhost/squirrelmail/

starts SquirrelMail


login as user
starts "Current Folder: Inbox" page


Sent a test mail including cc and bcc to users on Mail Server.  All of
them received.  


Thanks for your assistance.


A further question, is it possible evoking SquirrelMail with
"https://domain.com/mail"; to shorten typing input?  If YES, then how to
do it?  TIA


B.R.
Stephen L


Send instant messages to your online friends http://uk.messenger.yahoo.com 

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux