1: 2009-08-19 (水) 02:22:10 maruo ソース
Line 1: Line 1:
 +[[Gentoo Linuxな生活/アプリケーション関連]]
 +*WebMailがよい! [#y2a0d449]
 +メールを利用するにあたり、リモートでメールが扱えるのがいいと思っておりました。そのためにSMTP-AUTH+TLSしかり、IMAP+TLSしかりと設定してきたのですが、結局外部にポートを開くことになり、ちょっといやな気分になるものです。HTTPであれば、Webページ公開ついでに使用できますから、公開ポートを限定できます。ついでに外から自分のメールサーバを利用できるという恩恵もありますし。
 +
 +*ソフト選定 [#ne2d4080]
 +これまたいろいろあるんですよ。
 +:squirrelmail|どうも一番メジャー臭い
 +:SqWebMail|これまたメジャーな様
 +:IMP|PHPベースなグラフィカルなメーラ。結構魅力っぽい
 +
 +てなわけで、どれがよいかと悩んだのですが、
 +-portageにある
 +-日本語対応が容易
 +-Cyrus-imapd対応
 +
 +ということで、squirrelmailかIMPのどちらかにしようと思い、最新版への日本語対応からsquirrelmailにしました。
 +
 +*squirrelmailインストール [#i6c81c02]
 + emerge -b squirrelmail
 +
 +これで、デフォルト/var/www/localhost/htdocs/squirrelmailにインストールされました。で、[[SquirrelMail日本語サイト:http://www.squirrelmail.jp/]]から、バージョン1.4.2用の最新日本語パッチを落としてきてSquirrelMailがインストールされた場所でパッチをあててやります。
 + zcat squirrelmail-1.4.2-ja-20040305-patch.gz | patch -p1
 +
 +で、日本語周りのバグが綺麗になります。
 +*設定♪ [#n49b395c]
 + 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を指定してアクセスするとしっかり立ち上がります。ほとんど手間要らず。う~ん、らくちんちん。


トップ   差分 バックアップ 複製 名前変更 リロード印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
Counter: 3090, today: 2, yesterday: 1
ページ内検索

ログイン

ユーザー名:


パスワード:





パスワード紛失

メインメニュー

サブメニュー
自宅鯖計画

Gentoo Linuxな生活

玄箱HGにGentoo格闘記

航空ショーへ行こう

モータースポーツな世界

奥深き写真の世界への誘い

我思う ゆえに我あり



携帯用QRコード