[Home][Back][Next]

Webサーバ&SSL&メールサーバ構築済みが前提

1.SquirreMailのインストール

# yum -y install squirrelmail
Setting up Install Process
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 885/885
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for squirrelmail to pack into transaction set.
squirrelmail-1.4.4-1.FC3. 100% |=========================| 139 kB 00:00
---> Package squirrelmail.noarch 0:1.4.4-1.FC3 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
Install: squirrelmail.noarch 0:1.4.4-1.FC3 - updates-released
Total download size: 2.9 M
Downloading Packages:
(1/1): squirrelmail-1.4.4 100% |=========================| 2.9 MB 00:02
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: squirrelmail 100 % done 1/1

Installed: squirrelmail.noarch 0:1.4.4-1.FC3
Complete!
# yum clean packages
Cleaning up Packages
1 packages removed
# /etc/init.d/httpd restart
httpd を停止中: [ OK ]
httpd を起動中: [ OK ]

2.SquirreMailの設定

# /usr/share/squirrelmail/config/conf.pl

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
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 off
S Save data
Q Quit

Command >>1

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Organization Preferences
1. Organization Name : SquirrelMail
2. Organization Logo : ../images/sm_logo.png
3. Org. Logo Width/Height : (308/111)
4. Organization Title : SquirrelMail $version
5. Signout Page :
6. Top Frame : _top
7. Provider link : http://www.squirrelmail.org/
8. Provider name : SquirrelMail

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Command >>6

SquirrelMail defaults to using the whole of the browser window.
This allows you to keep it within a specified frame. The default
is '_top'

[_top]: ja_JP

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Organization Preferences
1. Organization Name : SquirrelMail
2. Organization Logo : ../images/sm_logo.png
3. Org. Logo Width/Height : (308/111)
4. Organization Title : SquirrelMail $version
5. Signout Page :
6. Top Frame : ja_JP
7. Provider link : http://www.squirrelmail.org/
8. Provider name : SquirrelMail

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Command >> 5

When users click the Sign Out button they will be logged out and
then sent to signout_page. If signout_page is left empty,
(hit space and then return) they will be taken, as normal,
to the default and rather sparse SquirrelMail signout page.

[]: /webmail

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Organization Preferences
1. Organization Name : SquirrelMail
2. Organization Logo : ../images/sm_logo.png
3. Org. Logo Width/Height : (308/111)
4. Organization Title : SquirrelMail $version
5. Signout Page : /webmail
6. Top Frame : ja_JP
7. Provider link : http://www.squirrelmail.org/
8. Provider name : SquirrelMail

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Command >> r

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
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 off
S Save data
Q Quit

Command >> 2

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings

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

A. Update IMAP Settings : localhost:143 (uw)
B. Change Sendmail Config : /usr/sbin/sendmail

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Command >> 1

The domain name is the suffix at the end of all email addresses. If
for example, your email address is jdoe@example.com, then your domain
would be example.com.

[localhost]:kkataru.mine.nu

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings

General
-------
1. Domain : apl.dyndns.org
2. Invert Time : false
3. Sendmail or SMTP : Sendmail

A. Update IMAP Settings : localhost:143 (uw)
B. Change Sendmail Config : /usr/sbin/sendmail

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Command >> q

You have not saved your data.
Save? [Y/n]: y
Data saved in config.php

Exiting conf.pl.
You might want to test your configuration by browsing to
http://your-squirrelmail-location/src/configtest.php
Happy SquirrelMailing!
PHPの対応
# yum -y install php-mbstring
Setting up Install Process
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 885/885
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-4.3.11-2.5.i 100% |=========================| 16 kB 00:00
---> Package php-mbstring.i386 0:4.3.11-2.5 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
Install: php-mbstring.i386 0:4.3.11-2.5 - updates-released
Total download size: 919 k
Downloading Packages:
(1/1): php-mbstring-4.3.1 100% |=========================| 919 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-mbstring 100 % done 1/1

Installed: php-mbstring.i386 0:4.3.11-2.5
Complete!


# vi /etc/php.ini
変更前 変更後
;mbstring.language = Japanese mbstring.language = Japanese
;mbstring.internal_encoding = EUC-JP mbstring.internal_encoding = EUC-JP
;mbstring.http_input = auto mbstring.http_input = auto
;mbstring.http_output = SJIS mbstring.http_output = SJIS
;mbstring.encoding_translation = Off mbstring.encoding_translation = Off
;mbstring.detect_order = auto mbstring.detect_order = auto
;mbstring.substitute_character = none; mbstring.substitute_character = none;
;mbstring.func_overload = 0 mbstring.func_overload = 0

# /etc/init.d/httpd reload
httpd を再読み込み中: [ OK ]

[Home][Back][Next]

Copyright (C) 2005 ataru