FreeBSD/SquirrelMail

SquirrelMail

Web上からメールを扱える便利なSquirrelMailの設定

構成

  • FreeBSD 6.1
  • Apache/2.2.4
  • PHP 5.2.1
  • qmail-1.03_4
  • vpopmail-5.4.10_5
  • courier-imap-4.0.6_1
  • SquirrelMail version 1.4.5

当然ながらWebサーバ・メールサーバ・IMAPサーバが稼動しているのが前提です。

ダウンロード

http://www.squirrelmail.org/download.php

  • squirrelmail-1.4.9a.tar.gz
  • all_locales-1.4.9-20070106.tar.gz

インストール

$ tar zxvf squirrelmail-1.4.9a.tar.gz
$ cd squirrelmail-1.4.9a
$ tar zxvf all_locales-1.4.9-20070106.tar.gz

設定変更

Server Settingsを変更

  1. ./configureを実行
    $ ./configure
    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
  2. 2を入力してEnter
    SquirrelMail Configuration : Read: config.php (1.4.0)
    ---------------------------------------------------------
    Server Settings
    
    General
    -------
    1.  Domain                 : ma21.ath.cx
    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 >> 
  3. Domain,IMAPサーバの設定する。
  4. Sを入力してEnterで保存
  5. Qを入力してEnterで終了

Languageを日本語に変更

  1. ./configureを実行
    $ ./configure
    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
  2. 10を入力してEnter
    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 on
    S   Save data
    Q   Quit
    
    Command >> 1
  3. 1を入力してEnter
    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
  4. ja_JPを入力してEnter
  5. Sを入力してEnterで保存
  6. Qを入力してEnterで終了