| ■概要 |
|
プロバイダなどから Fetchmail (メールの受信) ↓ Postfix (メールサーバー) ↓ Procmail SpamAssassin & bsfilter (スパム・メールのフィルタリングと携帯への転送) ↓ メール・スプール ↓ Dovecot (IMAPサーバー) ↓ メールを読む SquirrelMail (Webメーラー) |
■使用するパッケージがインストールされているかの確認
# rpm -q squirrelmail squirrelmail-1.4.4-2 |
|
■設定 SquirrelMail (Webメーラー) Apache (Webサーバー)必須 |
(1) ディレクトリの移動と設定スクリプト実行をする。
[root@localhost ~]# cd /usr/share/squirrelmail/config [root@localhost config]# ./conf.pl |
(2) 入力した文字が表示されない場合に設定する。
Before
C Turn color off
S Save data
Q Quit
After
C Turn color on
S Save data
Q Quit
Command >> C
Turn color off -> Turn color on
|
|
(3) 以下のように設定を変更する。(共通)
/*----- デフォルト言語を日本語に設定 -----*/ #1-1
10. Languages を選択する。
Command >> 10
#1-2
Before
Language preferences
1. Default Language : en_US
2. Default Charset : iso-8859-1
3. Enable lossy encoding : false
After
Language preferences
1. Default Language : ja_JP
2. Default Charset : iso-2022-jp
3. Enable lossy encoding : false
Command >> 1 [en_US]: ja_JP ← 日本語を標準にする Command >> 2 [iso-8859-1]: iso-2022-jp ← 日本語を標準にする#1-3
メインメニューに戻る。
Command >> R
/*----- SquirrelMailのバージョンを非表示 -----*/ #2-1
4. General Options を選択する。
Command >> 4
#2-2
Before
7. Hide SM attributions : false
After
7. Hide SM attributions : true
Command >> 7
Hide SM attributions (y/n) [n]: y ← y と入力
#2-3
メインメニューに戻る。
Command >> R
|
(4) 以下のように設定を変更する。(特有)
#1 Command >> 2 ← 2. Server Settings を選択する。 #2 Command >> A ← 3. Update IMAP Settings を選択する。
Before
General
-------
1. Domain : localhost
2. Invert Time : false
3. Sendmail or SMTP : Sendmail
IMAP Settings
--------------
4. IMAP Server : localhost
5. IMAP Port : 143
6. Authentication type : login
7. Secure IMAP (TLS) : false
8. Secure software : uw
9. Delimiter : /
B. Change Sendmail Config : /usr/sbin/sendmail
H. Hide IMAP Server Settings
After
General
-------
1. Domain : localhost
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. Secure software : other
9. Delimiter : .
B. Update SMTP Settings : localhost:25
H. Hide IMAP Server Settings
#3 Command >> 3 1. Sendmail 2. SMTP Your choice [1/2] [1]: 2 ← SMTP の 2 を選択 Command >> A ← 上記を実行すると画面が一つ戻るのでもう一度入力 Command >> 8 [uw]: other ← uw から other に変更 Command >> 9 [/]: . ← / から . に変更 |
(5) 変更を保存する。
#1 Command >> S ← S Save data を選択し、変更をセーブする。 #2 Command >> Q ← Q Quit を選択し、終了する。 |
(6) Junkディレクトリの作成をする。
http://localhost/webmail/ にアクセスし、Junkディレクトリを作成する ログインするときに使用する名前とパスワード ログイン名:d1 パスワード:****** #1 「フォルダ」をクリック。 #2 「フォルダを作成」に「Junk」と入力。 #3 「作成」ボタンをクリック。 #4 「リフレッシュ」をクリック。 #5 左メニューにJunkが新たに作成されているか確認。 動いているかの確認↓ http://localhost/webmail/src/configtest.php |
Q. 以下のように表示されログインできない。
SMTP (13) Permission denied
A. ファイアーウォールの設定を見直してください。
よくわからない場合は、一度ファイアーウォールを無効にして
ちゃんと動作するか確認してみてください。