非固定IPで独自ドメイン運用
 Yahooカテゴリ掲載 !!  Fedoracore5リリース!! 内容順次掲載予定

あなたは proxy経由かその他のOS / その他のブラウザ をお使いですね。
SINCE 2005/06/12
LAST UPDATE 2006/7/29
TOTAL ACCESS 1190243
YESTERDAY 00318
TODAY 00099
 

 

Home
install
after install
Apache
BIND
Postfix
dovecot
SMTP-AUTH
Squid
Webalizer
awstats
blog
Virtual IP
SSL + Virtual Domain
MHonArc + NAMAZU
VNC Server
DHCP
SSH
wsftp
SquirrelMail

 

・dovecot (imap Server / pop Server) 設定
 

                                                                                                      

[fedora@fedoracore4 ~]$ su -
[root@fedoracore4 ~]# rpm -qa dovecot
dovecot-0.99.14-4.fc4    
インストールされているdovecotのバージョンが表示

もしインストールされていなければ yum -y install dovecot で最新のdovecot をインストールしてください。

[root@fedoracore4 ~]# vi /etc/dovecot.conf
dovecot.conf の内容が表示されたら8行目を編集してください。

## Dovecot 1.0 configuration file

# Base directory where to store runtime data.
#base_dir = /var/run/dovecot/

# Protocols we want to be serving:
# imap imaps pop3 pop3s
protocols = imap imaps
pop3 pop3s


/#default_mail_env   #default_mail_env = を検索


# default_mail_env = maildir:/var/mail/%1u/%u/Maildir
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
#
#default_mail_env =

default_mail_env = maildir:~/Maildir
    postfix で確認したように/home/fedora (ホームディレクトリ) にMaildir がある。


/#valid_chroot_dirs    #valid_chroot_dirs  を検索


# ':' separated list of directories under which chrooting is allowed for mail
# processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too).
# This setting doesn't affect login_chroot or auth_chroot variables.
# WARNING: Never add directories here which local users can modify, that
# may lead to root exploit. Usually this should be done only if you don't
# allow shell access for users. See doc/configuration.txt for more information.
#vavalid_chroot_dirs =

valid_chroot_dirs = /home    chrootを用いて万が一の時もroot権限を奪取されないように。


:wq で保存
 

 

・dovecot (imap Server / pop Server) 起動・設定確認・起動設定

 

[root@fedoracore4 ~]# /etc/init.d/dovecot start    postfix起動
dovecot を起動中:
[ OK ]


[root@fedoracore4 ~]# cat chkcofig_def.txt |grep dovecot     dovecotの起動設定確認
dovecot 0:off 1:off 2:off 3:off 4:off 5:off 6:off    
自動起動しない
[root@fedoracore4 ~]# chkconfig dovecot on    dovecot自動起動設定
[root@fedoracore4 ~]# chkconfig --list dovecot     dovecotの起動設定確認
dovecot 0:off 1:off 2:on 3:on 4:on 5:on 6:off

 

・SMTP-AUTH (SMTP認証) 起動

 

[root@fedoracore4 ~]# /etc/init.d/saslauthd start
saslauthd を起動中:
[ OK ]


[root@fedoracore4 ~]# cat chkcofig_def.txt |grep saslauthd     saslauthdの起動設定確認
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off    
自動起動しない
[root@fedoracore4 ~]# chkconfig saslauthd on    saslauthd自動起動設定
[root@fedoracore4 ~]# chkconfig --list saslauthd     saslauthdの起動設定確認
saslauthd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

 



Linux Users Ring

[ 自宅サーバーWebRing |ID=280 前後5表示乱移動サイト一覧 ]

Copyright (c) 2005 - Fedoracore4.com - All rights reserved