SakamonWeb
New
Tools
Index
Edit
Mail/CourierIMAP
<sub>update at 2017.6.15</sub> <<パッケージ>> |||No.|package|URL|備考 ||[1|../pkg/imap/courier-imap-4.17.3.tar.bz2] |[courier-imap-4.17.3.tar.bz2|https://sourceforge.net/projects/courier/files/imap/4.17.3/courier-imap-4.17.3.tar.bz2/download] |http://www.courier-mta.org/imap/ |IMAPサーバ ||[2|../pkg/imap/courier-authlib-0.67.0.tar.bz2] |[courier-authlib-0.67.0.tar.bz2|https://sourceforge.net/projects/courier/files/authlib/0.67.0/courier-authlib-0.67.0.tar.bz2/download] |http://www.courier-mta.org/authlib/ |認証ライブラリ ||[3|../pkg/imap/courier-unicode-1.4.tar.bz2] |[courier-unicode-1.4.tar.bz2|https://sourceforge.net/projects/courier/files/courier-unicode/1.4/courier-unicode-1.4.tar.bz2/download] |http://www.courier-mta.org/unicode/ |Unicodeライブラリ <<Install>> 各パッケージで依存関係があるため,unicodeライブラリ,認証ライブラリ,IMAPサーバの順でインストールを行う. <pre> > tar xfj courier-unicode-1.4.tar.bz2 > cd courier-unicode-1.4 > ./configure --prefix=/usr/local > make # make install > tar xfj courier-authlib-0.67.0.tar.bz2 > cd courier-authlib-0.67.0 > ./configure --prefix=/usr/local --without-authldap --without-authpgsql --without-authmysql --without-authsqlite --without-authcustom --without-authpipe ※ --without-oooo 利用しない認証モジュールは作成しない > make # make install > tar xfj courier-imap-4.17.3.tar.bz2 > cd courier-imap-4.17.3 > ./configure --prefix=/usr/local > make # make install </pre> <<設定>> <<<設定ファイル>>> 標準の設定をそのまま利用 <pre> # cd /usr/local/etc # cp imapd.dist imapd # cp imapd-ssl.dist imapd-ssl </pre> <<<利用する認証モジュールを指定する>>> UNIXのshadowパスワードで認証するモジュールを選択 <pre> # cd /usr/local/etc/authlib # cp authdaemonrc.dist authdaemonrc # vi authdaemonrc authmodulelist="authshadow" authmodulelistorig="authshadow" </pre> <<<IMAPS用の証明書>>> <pre> # cd /usr/local/share # cat server.crt server.key > imapd.pem # mkdhparams </pre> <<<ユーザ毎の設定>>> ユーザのIMAPフォルダを作成する <pre> > maildirmake Maildir </pre> <<起動>> <pre> # /usr/local/sbin/authdaemond start # /usr/local/libexec/imapd-ssl.rc start </pre>
Sign:
freeze
sage
Attachment
New:
Sign:
Rename
Title:
Sign: