ページへ戻る

− Links

 印刷 

Gentoo Linuxな生活​/SquirrelMail のソース :: Nest Of Hawk

xpwiki:Gentoo Linuxな生活/SquirrelMailのソース

« Prev[3]  
*squirrelmailインストール [#i6c81c02]
 emerge -b squirrelmail

これで、デフォルト/var/www/localhost/htdocs/squirrelmailにインストールされました。

*設定♪ [#n49b395c]
/var/www/localhost.htdocs/squirrelmailにて、

 ./configure

と打ちます。

 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 (LDAP)
 7.  Message of the Day (MOTD)
 8.  Plugins
 9.  Database
 
 D.  Set pre-defined settings for specific IMAP servers
 
 C.  Turn color on
 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.  Default Language       : ja_JP
 7.  Top Frame              : _top
 8.  Provider link          : http://www.squirrelmail.org/
 9.  Provider name          : SquirrelMail
 
 R   Return to Main Menu
 C.  Turn color on
 S   Save data
 Q   Quit
 
 Command >>

6版を選択し、ja_JPにします

 SquirrelMail Configuration : Read: config.php (1.4.0)
 ---------------------------------------------------------
 General Options
 1.  Default Charset             : iso-2022-jp
 2.  Data Directory              : ../data/
 3.  Attachment Directory        : $data_dir
 4.  Directory Hash Level        : 0
 5.  Default Left Size           : 150
 6.  Usernames in Lowercase      : false
 7.  Allow use of priority       : true
 8.  Hide SM attributions        : false
 9.  Allow use of receipts       : true
 10. Allow editing of identity   : true/true
 11. Allow server thread sort    : false
 12. Allow server-side sorting   : false
 13. Allow server charset search : true
 14. Enable UID support          : true
 15. PHP session name            : SQMSESSID
 
 R   Return to Main Menu
 C.  Turn color on
 S   Save data
 Q   Quit
 
 Command >>

General OptionのDefault Charsetをiso-2022-jpにします
 SquirrelMail Configuration : Read: config.php (1.4.0)
 ---------------------------------------------------------
 Server Settings
 
 General
 -------
 1.  Domain                 : femt.ddo.jp
 2.  Invert Time            : false
 3.  Sendmail or SMTP       : SMTP
 
 A.  Update IMAP Settings   : localhost:143 (cyrus)
 B.  Update SMTP Settings   : localhost:25
 
 R   Return to Main Menu
 C.  Turn color on
 S   Save data
 Q   Quit
 
 Command >>

次にServer Settingsを選び、Aを入力。
 SquirrelMail Configuration : Read: config.php (1.4.0)
 ---------------------------------------------------------
 Server Settings
 
 General
 -------
 1.  Domain                 : femt.ddo.jp
 2.  Invert Time            : false
 3.  Sendmail or SMTP       : SMTP
 
 IMAP Settings
 --------------
 4.  IMAP Server            : localhost
 5.  IMAP Port              : 143
 6.  Authentication type    : digest-md5
 7.  Secure IMAP (TLS)      : false
 8.  Server software        : cyrus
 9.  Delimiter              : detect
 
 B.  Update SMTP Settings   : localhost:25
 H.  Hide IMAP Server Settings
 
 R   Return to Main Menu
 C.  Turn color on
 S   Save data
 Q   Quit
 
 Command >>
8番のServer softwareを選んでcyrusにします。また、うちでは平文認証を拒絶する設定にcyrusはしてますので、6番のAuthentication typeも変更します。ここではdigest-md5に変更しています。~

これでSave dataを選んでブラウザでsquirrelmailがインストールされている場所のURLを指定してアクセスするとしっかり立ち上がります。ほとんど手間要らず。う~ん、らくちんちん。

« Prev[3]