Webメールの構築   合計:
昨日:
今日:

更新日:2011/11/17

ホームへ戻る
Webブラウザ上でメールができるWebmailシステムであるSquirrelMailを導入する。 yumによるcentos標準のインストール方法も記しますが、日本語の文字化けのバグがあるようなので最新版をインストールし日本語の パッチを当てるようにする。
なお、Webmailでアクセス中は、盗聴されないようにするためhttps://〜でアクセスするようにする。
※メールサーバー、Webサーバー、Webサーバー間通信内容暗号化が構築済であることが前提
 
 
 
◆SquirrelMailインストール <<TOP

SquirrelMailの最新版は、ダウンロードサイトより確認してください。

日本語パッチの最新版は、ダウンロードサイトより、ご確認下さい。

localeの最新版は、ダウンロードサイトより、ご確認下さい。

@、SquirrelMailをインストールする。(wgetにより最新版を入手する場合)
   tar.gzファイルでも、tar.bz2ファイルのどちらでもいいですが、tar.bz2ファイルの方が圧縮されているため、
	  ダウンロードには時間がかかりません。
	  ただ、解凍しますので、解凍に少し時間がかかります。
[root@server ~]# wget http://jaist.dl.sourceforge.net/sourceforge/squirrelmail/squirrelmail-1.4.13.tar.bz2
        ↑ SquirrelMailダウンロード

        ・
    ・
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 497103 (485K) [application/x-bzip2]
Saving to: `squirrelmail-1.4.13.tar.bz2'

100%[=================================================>] 497,103     18.1K/s   in 27s    

17:03:53 (18.1 KB/s) - `squirrelmail-1.4.13.tar.bz2' を保存しました [497103/497103]

[root@server ~]# wget http://www.yamaai-tech.com/~masato/Download/squirrelmail-1.4.13-ja-20071215-patch.gz
         ↑ SquirrelMail日本語パッチダウンロード

--17:14:16--  http://www.yamaai-tech.com/~masato/Download/squirrelmail-1.4.13-ja-20071215-patch.gz
www.yamaai-tech.com をDNSに問いあわせています... 210.162.249.194
www.yamaai-tech.com|210.162.249.194|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 11925 (12K) [application/x-gzip]
Saving to: `squirrelmail-1.4.13-ja-20071215-patch.gz'

100%[=================================================>] 11,925      --.-K/s   in 0s     

17:14:19 (134 MB/s) - `squirrelmail-1.4.13-ja-20071215-patch.gz' を保存しました [11925/11925]

[root@server ~]# tar jxvf squirrelmail-1.4.13.tar.bz2 ← squirrelmailの解凍
    ・
    ・
squirrelmail-1.4.13/plugins/delete_move_next/
squirrelmail-1.4.13/plugins/delete_move_next/README
squirrelmail-1.4.13/plugins/delete_move_next/setup.php
squirrelmail-1.4.13/plugins/delete_move_next/index.php
squirrelmail-1.4.13/plugins/README.plugins
squirrelmail-1.4.13/COPYING

[root@server ~]# cd squirrelmail-1.4.13 ← 展開先へ移動
 
[root@server squirrelmail-1.4.13]# zcat ../squirrelmail-1.4.13-ja-20071215-patch.gz| patch -p1
                  ↑ SquirrelMail日本語パッチ施工

patching file class/deliver/Deliver.class.php
patching file class/mime/Rfc822Header.class.php
patching file functions/date.php
patching file functions/decode/iso_2022_jp.php
patching file functions/i18n.php
patching file functions/imap_messages.php
patching file functions/imap_search.php
patching file functions/mailbox_display.php
patching file functions/mime.php
patching file functions/strings.php
patching file functions/url_parser.php
patching file plugins/delete_move_next/setup.php
patching file plugins/filters/filters.php
patching file po/squirrelmail.pot
patching file src/compose.php
patching file src/download.php
patching file src/printer_friendly_bottom.php
patching file src/search.php
patching file src/view_text.php

[root@server squirrelmail-1.4.13]# cd

[root@server ~]# mv squirrelmail-1.4.13 /var/www/webmail ← 展開したファイルを所定の場所にリネームして移動

[root@server ~]# rm -f squirrelmail-1.4.13.tar.bz2 ← ダウンロードしたファイルの削除

[root@server ~]# rm -f squirrelmail-1.4.13-ja-20071215-patch.gz ← 日本語パッチファイルの削除

[root@server ~]# wget http://jaist.dl.sourceforge.net/sourceforge/squirrelmail/all_locales-1.4.20.zip13-200712
         ↑ localeのダウンロード
--15:14:52--  http://jaist.dl.sourceforge.net/sourceforge/squirrelmail/all_locales-1.4.13-20071220.zip
jaist.dl.sourceforge.net をDNSに問いあわせています... 150.65.7.130
jaist.dl.sourceforge.net|150.65.7.130|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 4889603 (4.7M) [application/zip]
Saving to: `all_locales-1.4.13-20071220.zip'

100%[======================================================>] 4,889,603   17.7K/s   in 5m 37s 

15:20:32 (14.2 KB/s) - `all_locales-1.4.13-20071220.zip' を保存しました [4889603/4889603]

[root@server ~]# unzip all_locales-1.4.13-20071220.zip -d all_locales ← 解凍
    ・
    ・
inflating: all_locales/help/zh_CN/read_mail.hlp  
  inflating: all_locales/help/zh_CN/search.hlp  
  inflating: all_locales/install     
 extracting: all_locales/version     
  inflating: all_locales/ReleaseNotes.locales  
  inflating: all_locales/COPYING.locales  
  inflating: all_locales/ChangeLog.locales  

[root@server ~]# cd all_locales ← 解凍先へ移動

[root@server all_locales]# rm -rf /var/www/webmail/help/ ← デフォルトのhelpを削除

[root@server all_locales]# ./install ← localeインストール

Please enter path to your squirrelmail installation:/var/www/webmail ← インストール先を入力

[root@server locale]# cd ← ルートに戻る

[root@server ~]# rm -rf all_locales ← all_localesディレクトリの削除

[root@server ~]# rm -f all_locales-1.4.13-20071220.zip ←ダウンロードファイルの削除

[root@server ~]# cd /var/www/webmail/po/ ← webmailのディレクトリへ移動

[root@server po]# ./compilepo ja_JP

Compiling ../locale/ja_JP/LC_MESSAGES/squirrelmail.po

[root@server po]# cd

[root@server ~]# chmod 730 /var/www/webmail/data/ ← dataディレクトリのパーミッション変更

[root@server ~]# chown -R apache:apache /var/www/webmail/data/ ← dataディレクトリの所有者変更

[root@server ~]# 
◆SquirrelMailの基本設定 <<TOP

yumによるインストールとインストール先が異なっていますが、あとは、ほとんど同じです。

インストール先が異なることによる多少の変更箇所を記します。


[root@server ~]# /var/www/webmail/config/conf.pl
SquirrelMail Configuration : Read: config_default.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 on
S   Save data
Q   Quit

Command >> 10 ← Languagesの選択

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------

Language preferences
1.  Default Language       : en_US
2.  Default Charset        : iso-8859-1
3.  Enable lossy encoding  : false

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

Command >> 1 ← Default Languageの選択

SquirrelMail attempts to set the language in many ways.  If it
can not figure it out in another way, it will default to this
language.  Please use the code for the desired language.

[en_US]: ja_JP ← ja_JPの指定

Language preferences
1.  Default Language       : ja_JP
2.  Default Charset        : iso-8859-1
3.  Enable lossy encoding  : false

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

Command >> 2 ← Default Charsetの選択

This option controls what character set is used when sending
mail and when sending HTML to the browser.

This option is used only when default language is 'en_US'.

[iso-8859-1]: iso-2022-jp ← iso-2022-jpの指定

Language preferences
1.  Default Language       : ja_JP
2.  Default Charset        : iso-2022-jp
3.  Enable lossy encoding  : false

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

Command >> r ← 戻る

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 >> 1 ← Organization Preferencesの選択

SquirrelMail Configuration : Read: config_default.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 on
S   Save data
Q   Quit

Command >> 5 ← Signout Pageの選択

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 ← Signout Pageとして/webmailを指定

SquirrelMail Configuration : Read: config_default.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              : _top
7.  Provider link          : http://www.squirrelmail.org/
8.  Provider name          : SquirrelMail

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

Command >> r ← 戻る

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 >> 2 ← Server Settingsの選択

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

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

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

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

Command >> 1 ← Domainの選択

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.

[example.com]: arisonsvr.org ← 当サーバーの例です

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

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

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

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

Command >> r ← 戻る

SquirrelMail Configuration : Read: config_default.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 on
S   Save data
Q   Quit

Command >> 4 ← General Optionsの選択

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
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               : 

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

Command >> 7 ← Hide SM attributionsの選択

Hide SM attributions (y/n) [n]: y ← y応答

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
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        : true
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               : 

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

Command >> 1 ← Data Directoryの指定


Specify the location for your data directory.
The path name can be absolute or relative (to the config directory).
You probably need to create this directory yourself. Here are two examples:
  Absolute:    /var/local/squirrelmail/data/
  Relative:    ../data/
Relative paths to directories outside of the SquirrelMail distribution
will be converted to their absolute path equivalents in config.php.

Note: There are potential security risks with having a writable directory
under the web server's root directory (ex: /home/httpd/html).
For this reason, it is recommended to put the data directory
in an alternate location of your choice. 

[/var/local/squirrelmail/data/]: ../data/ ← ../data/の指定

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
General Options
1.  Data Directory              : ../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        : true
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               : 

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

Command >> 2 ← Attachment Directoryの指定

Path to directory used for storing attachments while a mail is
being sent. The path name can be absolute or relative (to the config directory).
It doesn't matter.  Here are two examples:
  Absolute:    /var/spool/squirrelmail/attach/
  Relative:    ../attach/
Relative paths to directories outside of the SquirrelMail distribution
will be converted to their absolute path equivalents in config.php.

Note:  There are a few security considerations regarding this
directory:
  1.  It should have the permission 733 (rwx-wx-wx) to make it
      impossible for a random person with access to the webserver
      to list files in this directory.  Confidential data might
      be laying around in there.
      Depending on your user:group assignments, 730 (rwx-wx---)
      may be possible, and more secure (e.g. root:apache)
  2.  Since the webserver is not able to list the files in the
      content is also impossible for the webserver to delete files
      lying around there for too long.
  3.  It should probably be another directory than the data
      directory specified in option 3.

[/var/local/squirrelmail/attach/]: $data_dir ← $data_dirの指定

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
General Options
1.  Data Directory              : ../data/
2.  Attachment Directory        : $data_dir/
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        : true
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               : 

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

Command >> r ← 戻る

SquirrelMail Configuration : Read: config_default.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 on
S   Save data
Q   Quit

Command >> 3 ← Folder Defaultsの選択

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
Folder Defaults
1.  Default Folder Prefix         : 
2.  Show Folder Prefix Option     : false
3.  Trash Folder                  : INBOX.Trash
4.  Sent Folder                   : INBOX.Sent
5.  Drafts Folder                 : INBOX.Drafts
6.  By default, move to trash     : true
7.  By default, move to sent      : true
8.  By default, save as draft     : true
9.  List Special Folders First    : true
10. Show Special Folders Color    : true
11. Auto Expunge                  : true
12. Default Sub. of INBOX         : true
13. Show 'Contain Sub.' Option    : false
14. Default Unseen Notify         : 2
15. Default Unseen Type           : 1
16. Auto Create Special Folders   : true
17. Folder Delete Bypasses Trash  : false
18. Enable /NoSelect folder fix   : false

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

Command >> 3 ← Trash Folderの選択

You can now specify where the default trash folder is located.
On servers where you do not want this, you can set it to anything
and set option 6 to false.

This is relative to where the rest of your email is kept.  You do
not need to worry about their mail directory.  If this folder
would be ~/mail/trash on the filesystem, you only need to specify
that this is 'trash', and be sure to put 'mail/' in option 1.

[INBOX.Trash]: Trash ← Trashの指定

Folder Defaults
1.  Default Folder Prefix         : 
2.  Show Folder Prefix Option     : false
3.  Trash Folder                  : Trash
4.  Sent Folder                   : INBOX.Sent
5.  Drafts Folder                 : INBOX.Drafts
6.  By default, move to trash     : true
7.  By default, move to sent      : true
8.  By default, save as draft     : true
9.  List Special Folders First    : true
10. Show Special Folders Color    : true
11. Auto Expunge                  : true
12. Default Sub. of INBOX         : true
13. Show 'Contain Sub.' Option    : false
14. Default Unseen Notify         : 2
15. Default Unseen Type           : 1
16. Auto Create Special Folders   : true
17. Folder Delete Bypasses Trash  : false
18. Enable /NoSelect folder fix   : false

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

Command >> 4 ← Sent Folderの選択

This is where messages that are sent will be stored.  SquirrelMail
by default puts a copy of all outgoing messages in this folder.

This is relative to where the rest of your email is kept.  You do
not need to worry about their mail directory.  If this folder
would be ~/mail/sent on the filesystem, you only need to specify
that this is 'sent', and be sure to put 'mail/' in option 1.

[INBOX.Sent]: Sent ← Sentの指定

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
Folder Defaults
1.  Default Folder Prefix         : 
2.  Show Folder Prefix Option     : false
3.  Trash Folder                  : Trash
4.  Sent Folder                   : Sent
5.  Drafts Folder                 : INBOX.Drafts
6.  By default, move to trash     : true
7.  By default, move to sent      : true
8.  By default, save as draft     : true
9.  List Special Folders First    : true
10. Show Special Folders Color    : true
11. Auto Expunge                  : true
12. Default Sub. of INBOX         : true
13. Show 'Contain Sub.' Option    : false
14. Default Unseen Notify         : 2
15. Default Unseen Type           : 1
16. Auto Create Special Folders   : true
17. Folder Delete Bypasses Trash  : false
18. Enable /NoSelect folder fix   : false

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

Command >> 5 ← Drafts Folderの指定

You can now specify where the default draft folder is located.
On servers where you do not want this, you can set it to anything
and set option 9 to false.

This is relative to where the rest of your email is kept.  You do
not need to worry about their mail directory.  If this folder
would be ~/mail/drafts on the filesystem, you only need to specify
that this is 'drafts', and be sure to put 'mail/' in option 1.

[INBOX.Drafts]: Drafts ← Draftsの指定

SquirrelMail Configuration : Read: config_default.php (1.4.0)
---------------------------------------------------------
Folder Defaults
1.  Default Folder Prefix         : 
2.  Show Folder Prefix Option     : false
3.  Trash Folder                  : Trash
4.  Sent Folder                   : Sent
5.  Drafts Folder                 : Drafts
6.  By default, move to trash     : true
7.  By default, move to sent      : true
8.  By default, save as draft     : true
9.  List Special Folders First    : true
10. Show Special Folders Color    : true
11. Auto Expunge                  : true
12. Default Sub. of INBOX         : true
13. Show 'Contain Sub.' Option    : false
14. Default Unseen Notify         : 2
15. Default Unseen Type           : 1
16. Auto Create Special Folders   : true
17. Folder Delete Bypasses Trash  : false
18. Enable /NoSelect folder fix   : false

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

Command >> q ← Quitの選択

You have not saved your data.
Save?  [Y/n]: y ← 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!

[root@server ~]#

プラグインはインストール先が違うだけで、yumでインストールしたときと基本的に同じですのでそちらを参考にして下さい。

 

 
 
◆yumによるインストール <<TOP
   

[root@server ~]# yum -y install squirrelmail ← squirrelmailのインストール
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
dries                     100% |=========================|  951 B    00:00     
dag                       100% |=========================| 1.1 kB    00:02     
update                    100% |=========================|  951 B    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
base                      100% |=========================| 1.1 kB    00:00     
addons                    100% |=========================|  951 B    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Reducing Dag RPM Repository for Red Hat Enterprise Linux to included packages only
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for squirrelmail to pack into transaction set.
squirrelmail-1.4.8-4.0.1. 100% |=========================| 162 kB    00:00     
---> Package squirrelmail.noarch 0:1.4.8-4.0.1..el5.centos.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 squirrelmail            noarch     1.4.8-4.0.1..el5.centos.1  update            4.3 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 4.3 M
Downloading Packages:
(1/1): squirrelmail-1.4.8 100% |=========================| 4.3 MB    00:10     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: squirrelmail                 ######################### [1/1] 

Installed: squirrelmail.noarch 0:1.4.8-4.0.1..el5.centos.1
Complete!
[root@server ~]#
 
   
◆SquirrelMailのプラグインの取得と配置(yumでインストールした場合) <<TOP
最新版は、ここから、ダウンロードして用いる。  

[root@server ~]# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fcompatibility-2.0.7-1.0.tar.gz
    ↑ compatibility-2.0.7-1.0.tar.gzのダウンロード
--13:45:12--  http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fcompatibility-2.0.7-1.0.tar.gz
www.squirrelmail.org をDNSに問いあわせています... 82.94.230.146
www.squirrelmail.org|82.94.230.146|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: http://www.squirrelmail.org/plugins/compatibility-2.0.7-1.0.tar.gz [続く]
--13:45:12--  http://www.squirrelmail.org/plugins/compatibility-2.0.7-1.0.tar.gz
www.squirrelmail.org:80 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 29819 (29K) [application/x-gzip]
Saving to: `compatibility-2.0.7-1.0.tar.gz'

100%[=====================================================>] 29,819      26.1K/s   in 1.1s   

13:45:14 (26.1 KB/s) - `compatibility-2.0.7-1.0.tar.gz' を保存しました [29819/29819]

[root@server ~]# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fempty_trash-1.4-1.2.2.tar.gz
    ↑ empty_trash-1.4-1.2.2.tar.gzのダウンロード
--13:50:20--  http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fempty_trash-1.4-1.2.2.tar.gz
www.squirrelmail.org をDNSに問いあわせています... 82.94.230.146
www.squirrelmail.org|82.94.230.146|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: http://www.squirrelmail.org/plugins/empty_trash-1.4-1.2.2.tar.gz [続く]
--13:50:21--  http://www.squirrelmail.org/plugins/empty_trash-1.4-1.2.2.tar.gz
www.squirrelmail.org:80 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 2715 (2.7K) [application/x-gzip]
Saving to: `empty_trash-1.4-1.2.2.tar.gz'

100%[=====================================================>] 2,715       9.25K/s   in 0.3s   

13:50:22 (9.25 KB/s) - `empty_trash-1.4-1.2.2.tar.gz' を保存しました [2715/2715]

[root@server ~]# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fsecure_login-1.3-1.2.8.tar.gz
    ↑ secure_login-1.3-1.2.8.tar.gzのダウンロード
--13:53:12--  http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fsecure_login-1.3-1.2.8.tar.gz
www.squirrelmail.org をDNSに問いあわせています... 82.94.230.146
www.squirrelmail.org|82.94.230.146|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: http://www.squirrelmail.org/plugins/secure_login-1.3-1.2.8.tar.gz [続く]
--13:53:13--  http://www.squirrelmail.org/plugins/secure_login-1.3-1.2.8.tar.gz
www.squirrelmail.org:80 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 16075 (16K) [application/x-gzip]
Saving to: `secure_login-1.3-1.2.8.tar.gz'

100%[=====================================================>] 16,075      27.1K/s   in 0.6s   

13:53:14 (27.1 KB/s) - `secure_login-1.3-1.2.8.tar.gz' を保存しました [16075/16075]

[root@server ~]# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fview_as_html-3.7a-1.4.x.tar.gz
    ↑ view_as_html-3.7a-1.4.x.tar.gzのダウンロード
--13:55:24--  http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrel
mail.org%2Fplugins%2Fview_as_html-3.7a-1.4.x.tar.gz
www.squirrelmail.org をDNSに問いあわせています... 82.94.230.146
www.squirrelmail.org|82.94.230.146|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: http://www.squirrelmail.org/plugins/view_as_html-3.7a-1.4.x.tar.gz [続く]
--13:55:25--  http://www.squirrelmail.org/plugins/view_as_html-3.7a-1.4.x.tar.gz
www.squirrelmail.org:80 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 8718 (8.5K) [application/x-gzip]
Saving to: `view_as_html-3.7a-1.4.x.tar.gz'

100%[=====================================================>] 8,718       25.8K/s   in 0.3s   

13:55:26 (25.8 KB/s) - `view_as_html-3.7a-1.4.x.tar.gz' を保存しました [8718/8718]

[root@server ~]# cd /usr/share/squirrelmail/plugins/ ← プラグインパス(yumでインストールの場合)

[root@server ~]# cd /var/www/webmail/plugins/ ← プラグインパス(tarファイルでインストールした場合)

[root@server plugins]# tar zxvf /root/compatibility-2.0.7-1.0.tar.gz ← 解凍
compatibility/
compatibility/functions.php
    ・
    ・
    ・
compatibility/includes/1.4.0/global.php
compatibility/includes/1.4.10/
[root@server plugins]# tar zxvf /root/empty_trash-1.4-1.2.2.tar.gz ← 解凍
empty_trash/
empty_trash/setup.php
empty_trash/README
empty_trash/functions.php
empty_trash/version
empty_trash/INSTALL
empty_trash/config.php.sample
[root@server plugins]# tar zxvf /root/secure_login-1.3-1.2.8.tar.gz ← 解凍
secure_login/
secure_login/functions.php
secure_login/index.php
secure_login/version
secure_login/INSTALL
secure_login/COPYING
secure_login/config.sample.php
secure_login/setup.php
secure_login/README
secure_login/make_release.sh
[root@server plugins]# tar zxvf /root/view_as_html-3.7a-1.4.x.tar.gz ← 解凍
view_as_html/
view_as_html/ChangeLog
    ・
    ・
    ・
view_as_html/index.php
view_as_html/view_as_html.php

[root@server plugins]# rm -f /root/compatibility-2.0.7-1.0.tar.gz ←ダウンロードしたファイルの削除
[root@server plugins]# rm -f /root/empty_trash-1.4-1.2.2.tar.gz
[root@server plugins]# rm -f /root/secure_login-1.3-1.2.8.tar.gz
[root@server plugins]# rm -f /root/view_as_html-3.7a-1.4.x.tar.gz
[root@server plugins]# 
 
A、インストールされたものを有効にするためにapacheを再起動する。  

[root@server ~]# /etc/rc.d/init.d/httpd restart     ← Webサーバー再起動  
httpd を停止中:                                            [  OK  ]
httpd を起動中:                                            [  OK  ]
[root@server ~]# 
 
   
SquirrelMail設定(yumでインストールの場合) <<TOP
@、基本設定。使い始める前に、最低やっておかなければならないものです。  
[root@server ~]# /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 ← Organization Preferences選択
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 >> 5 ← Signout Page選択
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 ← /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 ← /webmailに変わっている
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 >> 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 ← Server Settings選択
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 ← Domain選択

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]: arisonsvr.org ← ドメイン名応答(arisonsvr.orgは当サイトの例)

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

General
-------
1.  Domain                 : arisonsvr.org ← arisonsvr.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 >> 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 >> 4 ← General Options選択
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
General Options
1.  Data Directory              : /var/lib/squirrelmail/prefs/
2.  Attachment Directory        : /var/spool/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    : true
11. Allow server-side sorting   : true
12. Allow server charset search : true
13. Enable UID support          : true
14. PHP session name            : SQMSESSID
15. Location base               : 

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

Command >> 7 ← Hide SM attributions選択

Hide SM attributions (y/n) [n]: y 
← y応答(ログインページでSquirrelMailのバージョンを表示しないようにする)

SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------
General Options
1.  Data Directory              : /var/lib/squirrelmail/prefs/
2.  Attachment Directory        : /var/spool/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        : true ← trueに変わっている
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    : true
11. Allow server-side sorting   : true
12. Allow server charset search : true
13. Enable UID support          : true
14. PHP session name            : SQMSESSID
15. Location base               :

R   Return to Main Menu
C   Turn color off
S   Save data
Q   Quit
 
Command >> q ← q応答(設定スクリプト終了)

You have not saved your data.
Save?  [Y/n]: y ← 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!

[root@server ~]# /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 >> 10 ← Languagesの選択

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1.  Default Language       : en_US
2.  Default Charset        : iso-8859-1
3.  Enable lossy encoding  : false

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

Command >> 1 ← Default Languageの選択

SquirrelMail attempts to set the language in many ways.  If it
can not figure it out in another way, it will default to this
language.  Please use the code for the desired language.

[en_US]: ja_JP ← 日本語の設定

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1.  Default Language       : ja_JP
2.  Default Charset        : iso-8859-1
3.  Enable lossy encoding  : false

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

Command >> 2  ←  Default Charsetの選択 

This option controls what character set is used when sending
mail and when sending HTML to the browser.

This option is used only when default language is 'en_US'.

[iso-8859-1]: iso-2022-jp ← 日本語の設定

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences                                                                          
1.  Default Language       : ja_JP                                                            
2.  Default Charset        : iso-2022-jp                                                      
3.  Enable lossy encoding  : false                                                            
                                                                                              
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 >> q

You have not saved your data.
Save?  [Y/n]: y ← 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!

[root@server ~]# 
 
   
◆受信メールサーバーがCourier-IMAPの場合のみ <<TOP
   
[root@note ~]# /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 >> 3 ← Folder Defaultsを選択
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Folder Defaults
1.  Default Folder Prefix         : 
2.  Show Folder Prefix Option     : true
3.  Trash Folder                  : Trash
4.  Sent Folder                   : Sent
5.  Drafts Folder                 : Drafts
6.  By default, move to trash     : true
7.  By default, move to sent      : true
8.  By default, save as draft     : true
9.  List Special Folders First    : true
10. Show Special Folders Color    : true
11. Auto Expunge                  : true
12. Default Sub. of INBOX         : false
13. Show 'Contain Sub.' Option    : true
14. Default Unseen Notify         : 2
15. Default Unseen Type           : 1
16. Auto Create Special Folders   : true
17. Folder Delete Bypasses Trash  : false
18. Enable /NoSelect folder fix   : false

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

Command >> 1 ← Default Folder Prefixを選択

Some IMAP servers (UW, for example) store mail and folders in
your user space in a separate subdirectory.  This is where you
specify what that directory is.

EXAMPLE:  mail/
NOTE:  If you use Cyrus, or some server that would not use this
       option, you must set this to 'none'.

[]: INBOX. ← INBOX.応答

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Folder Defaults
1.  Default Folder Prefix         : INBOX. ← INBOX.に変わっている
2.  Show Folder Prefix Option     : true
3.  Trash Folder                  : Trash
4.  Sent Folder                   : Sent
5.  Drafts Folder                 : Drafts
6.  By default, move to trash     : true
7.  By default, move to sent      : true
8.  By default, save as draft     : true
9.  List Special Folders First    : true
10. Show Special Folders Color    : true
11. Auto Expunge                  : true
12. Default Sub. of INBOX         : false
13. Show 'Contain Sub.' Option    : true
14. Default Unseen Notify         : 2
15. Default Unseen Type           : 1
16. Auto Create Special Folders   : true
17. Folder Delete Bypasses Trash  : false
18. Enable /NoSelect folder fix   : false

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

Command >> q ← q応答(設定スクリプト終了)

You have not saved your data.
Save?  [Y/n]: y ← 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!
    
 
   
◆必須プラグインの導入
<<TOP
   

[root@server ~]# /usr/share/squirrelmail/config/conf.pl ← プラグインの設定(yumのインストールの場合)

[root@server ~]# /var/www/webmail/config/conf.pl ← プラグインの設定(tarファイルでインストールした場合)


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 >> 8 ← Pluginsの選択

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
  Installed Plugins
    1. delete_move_next
    2. squirrelspell
    3. newmail

  Available Plugins:
    4. administrator
    5. fortune
    6. info
    7. view_as_html
    8. twc_weather
    9. message_details
    10. spamcop
    11. compatibility
    12. listcommands
    13. empty_trash
    14. sent_subfolders
    15. abook_take
    16. calendar
    17. virtual_hosts
    18. mail_fetch
    19. translate
    20. secure_login
    21. username
    22. block_sender
    23. filters
    24. smallcal
    25. bug_report

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

Command >> 11 ← compatibilityの選択

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
  Installed Plugins
    1. delete_move_next
    2. squirrelspell
    3. newmail
    4. compatibility

  Available Plugins:
    5. administrator
    6. fortune
    7. info
    8. view_as_html
    9. twc_weather
    10. message_details
    11. spamcop
    12. listcommands
    13. empty_trash
    14. sent_subfolders
    15. abook_take
    16. calendar
    17. virtual_hosts
    18. mail_fetch
    19. translate
    20. secure_login
    21. username
    22. block_sender
    23. filters
    24. smallcal
    25. bug_report

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

Command >> 13 ← empty_trashの選択

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
  Installed Plugins
    1. delete_move_next
    2. squirrelspell
    3. newmail
    4. compatibility
    5. empty_trash

  Available Plugins:
    6. administrator
    7. fortune
    8. info
    9. view_as_html
    10. twc_weather
    11. message_details
    12. spamcop
    13. listcommands
    14. sent_subfolders
    15. abook_take
    16. calendar
    17. virtual_hosts
    18. mail_fetch
    19. translate
    20. secure_login
    21. username
    22. block_sender
    23. filters
    24. smallcal
    25. bug_report

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

Command >> 9 ← view_as_htmlの選択

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
  Installed Plugins
    1. delete_move_next
    2. squirrelspell
    3. newmail
    4. compatibility
    5. empty_trash
    6. view_as_html

  Available Plugins:
    7. administrator
    8. fortune
    9. info
    10. twc_weather
    11. message_details
    12. spamcop
    13. listcommands
    14. sent_subfolders
    15. abook_take
    16. calendar
    17. virtual_hosts
    18. mail_fetch
    19. translate
    20. secure_login
    21. username
    22. block_sender
    23. filters
    24. smallcal
    25. bug_report

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

Command >> 20 ← secure_loginの選択

SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
  Installed Plugins
    1. delete_move_next
    2. squirrelspell
    3. newmail
    4. compatibility
    5. empty_trash
    6. view_as_html
    7. secure_login

  Available Plugins:
    8. administrator
    9. fortune
    10. info
    11. twc_weather
    12. message_details
    13. spamcop
    14. listcommands
    15. sent_subfolders
    16. abook_take
    17. calendar
    18. virtual_hosts
    19. mail_fetch
    20. translate
    21. username
    22. block_sender
    23. filters
    24. smallcal
    25. bug_report

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 ← 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!

[root@server ~]#
 
   
◆セキュリティの強化 <<TOP

セキュリティを強化するための設定を行う。デフォルトのままだと送信ポートは、25番。受信ポートは、143番になっている。


[root@server ~]# /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 >>  2 ← Server Settingsの応答

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

General
-------
1.  Domain                 : arisonsvr.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 >> 3 ← Sendmail or SMTPを選択

You now need to choose the method that you will use for sending
messages in SquirrelMail.  You can either connect to an SMTP server
or use sendmail directly.

  1.  Sendmail
  2.  SMTP
Your choice [1/2] [1]: 2 ← SMTPを選択

SquirrelMail Configuration : Read: config.php (1.4.0)                                         
---------------------------------------------------------                                     
Server Settings                                                                               
                                                                                              
General                                                                                       
-------                                                                                       
1.  Domain                 : arisonsvr.org                                                    
2.  Invert Time            : false                                                            
3.  Sendmail or SMTP       : SMTP  ← SMTPに変わっている 
                                                                                              
A.  Update IMAP Settings   : localhost:143 (uw)                                               
B.  Update SMTP Settings   : localhost:25                                                     
                                                                                              
R   Return to Main Menu                                                                       
C   Turn color off                                                                            
S   Save data                                                                                 
Q   Quit                                                                                      
                                                                                              
Command >> A ← Update IMAP Settingsの選択

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

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

IMAP Settings
--------------
4.  IMAP Server            : localhost
5.  IMAP Port              : 143
6.  Authentication type    : login
7.  Secure IMAP (TLS)      : false
8.  Server software        : uw
9.  Delimiter              : /

B.  Update SMTP Settings   : localhost:25
H.  Hide IMAP Server Settings

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

Command >> 5 ← IMAP Portの選択

This is the port that your IMAP server is on.  Usually this is 143.
[143]: 465 ← 465番ポートの選択

SquirrelMail Configuration : Read: config.php (1.4.0)                                         
---------------------------------------------------------                                     
Server Settings                                                                               
                                                                                              
General                                                                                       
-------                                                                                       
1.  Domain                 : arisonsvr.org                                                    
2.  Invert Time            : false                                                            
3.  Sendmail or SMTP       : SMTP                                                             
                                                                                              
IMAP Settings                                                                                 
--------------                                                                                
4.  IMAP Server            : localhost                                                        
5.  IMAP Port              : 465                                                              
6.  Authentication type    : login                                                            
7.  Secure IMAP (TLS)      : false                                                            
8.  Server software        : uw                                                               
9.  Delimiter              : /                                                                
                                                                                              
B.  Update SMTP Settings   : localhost:25                                                     
H.  Hide IMAP Server Settings                                                                 
                                                                                              
R   Return to Main Menu                                                                       
C   Turn color off                                                                            
S   Save data                                                                                 
Q   Quit                                                                                      
                                                                                              
Command >> 7 

 

 
  <<TOP
   
◆広告等 <<TOP