しかし、SEPとの相性は相変わらず。
何が原因なんだろう?
7-Zip Portable
ClamWin Portable
Command Prompt Portable
EditMTU
Eraser Portable
FastCopy
FFFTP
Firefox Portable
InfraRecorder Portable
LDAP Browser
OpenOffice Portable
SumatraPDF Portable
TeraTerm Pro
TrueCrypt(トラベラーディスク使用)
VLC Portable
winMD5Sum
Xenon Portable
秀丸エディタ(持ち出しキット使用)
秀丸メール(持ち出しキット使用)
hogehoge:hoge@fuga.com,foo@fuga.com,piyo@fuga.com
fugafuga:hoge@fuga.com,bar@fuga.com,baz@fuga.com
PATH=/usr/bin
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR/
LOCKFILE=$MAILDIR/msgid.lock
:0 Wh:
| formail -D 8192 $MAILDIR/msgid.cache
"| exec procmail" #ダブルクォーテーション「""」も含めて記述します。
# vi /home/(ユーザ名)/.forward
~/Maildir/ #ローカルにも残す場合
#転送先は改行で区切って記述
hoge@fuga.com
foo@fuga.com
# yum -y install postfix-pflogsumm
# crontab -e
0 2 * * * perl /usr/sbin/pflogsumm -e -d yesterday /var/log/maillog | mail -s 'Postfix log summaries' postmaster
Postfix log summaries for Aug 10
Grand Totals
------------
messages
0 received
0 delivered
0 forwarded
0 deferred
0 bounced
0 rejected (0%)
0 reject warnings
0 held
0 discarded (0%)
0 bytes received
0 bytes delivered
0 senders
0 sending hosts/domains
0 recipients
0 recipient hosts/domains
message deferral detail: none
message bounce detail (by relay): none
message reject detail: none
message reject warning detail: none
message hold detail: none
message discard detail: none
smtp delivery failures: none
Warnings: none
Fatal Errors: none
Panics: none
Master daemon messages: none
Per-Hour Traffic Summary
time received delivered deferred bounced rejected
--------------------------------------------------------------------
0000-0100 0 0 0 0 0
0100-0200 0 0 0 0 0
0200-0300 0 0 0 0 0
0300-0400 0 0 0 0 0
0400-0500 0 0 0 0 0
0500-0600 0 0 0 0 0
0600-0700 0 0 0 0 0
0700-0800 0 0 0 0 0
0800-0900 0 0 0 0 0
0900-1000 0 0 0 0 0
1000-1100 0 0 0 0 0
1100-1200 0 0 0 0 0
1200-1300 0 0 0 0 0
1300-1400 0 0 0 0 0
1400-1500 0 0 0 0 0
1500-1600 0 0 0 0 0
1600-1700 0 0 0 0 0
1700-1800 0 0 0 0 0
1800-1900 0 0 0 0 0
1900-2000 0 0 0 0 0
2000-2100 0 0 0 0 0
2100-2200 0 0 0 0 0
2200-2300 0 0 0 0 0
2300-2400 0 0 0 0 0
Host/Domain Summary: Message Delivery
sent cnt bytes defers avg dly max dly host/domain
-------- ------- ------- ------- ------- -----------
Host/Domain Summary: Messages Received
msg cnt bytes host/domain
-------- ------- -----------
Senders by message count: none
Recipients by message count: none
Senders by message size: none
Recipients by message size: none
Current Mail Queue
------------------
Mail queue is empty
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################
#database bdb
#suffix "dc=my-domain,dc=com" # コメントアウト
↓
suffix "dc=hoge,dc=fuga,dc=com" # 自ドメインに変更
#rootdn "cn=Manager,dc=my-domain,dc=com" # コメントアウト
↓
rootdn "cn=Manager,dc=hoge,dc=fuga,dc=com" # 自ドメインに変更
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw secret
# rootpw {crypt}ijFYNcSNctBYg
# 暗号化されたパスワードを設定します。
rootpw {MD5}xxxxxxxxxxxxxxxxxxxxxxxx # 後述のslappasswdにて説明
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
# Replicas of this database
#replogfile /var/lib/ldap/openldap-master-replog
#replica host=ldap-1.example.com:389 starttls=critical
# bindmethod=sasl saslmech=GSSAPI
# authcId=host/ldap-master.example.com@EXAMPLE.COM
# 以下を追加
access to attrs=userPassword
by self write
by dn="cn=Manager,dc=hoge,dc=fuga,dc=com" write
by anonymous auth
by * none
access to *
by dn="cn=Manager,dc=hoge,dc=fuga,dc=com" write
by self write
by * read
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
↓
BASE dc=hoge,dc=fuga,dc=com # 自ドメインに変更
# The distinguished name of the search base.
#base dc=example,dc=com
↓
base dc=hoge,dc=fuga,dc=com # 自ドメインに変更
# yum -y install postfix
# vi /etc/postfix/main.cf
#myhostname = host.domain.tld
↓
myhostname = hoge.fuga.com # コメントを外し、自身のFQDNに変更
#mydomain = domain.tld
↓
mydomain = fuga.com # コメントを外し、自身のドメイン名に変更
#myorigin = $mydomain
↓
myorigin = $mydomain # コメントを外す
#inet_interface = all
↓
inet_interface = all # コメントを外す
inet_interface = localhost
↓
#inet_interface = localhost # コメントアウト
mydestination = $myhostname, localhost.$mydomain, localhost
↓
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain # 自身のドメインを追加
#home_mailbox = Maildir/
↓
home_mailbox = Maildir/ # コメントを外す
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
↓
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_banner = $myhostname ESMTP unknown # メールサーバー名を隠す為、unknownを追加
# mkdir -p /etc/skel/Maildir/cur
# mkdir -p /etc/skel/Maildir/new
# mkdir -p /etc/skel/Maildir/tmp
# chmod -R 700 /etc/skel/Maildir/
# mkdir -p /home/honda/Maildir/cur
# mkdir -p /home/honda/Maildir/new
# mkdir -p /home/honda/Maildir/tmp
# chown -R honda /home/honda/Maildir/
# chmod -R 700 /home/honda/Maildir/
# vi /etc/aliases
root: marc
↓
#root: marc # コメントアウト
root: honda # 代理ユーザーを指定
# /etc/rc.d/init.d/sendmail stop
# alternatives --config mta
2 プログラムがあり 'mta' を提供します。
選択 コマンド
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfix
Enter を押して現在の選択 [+] を保持するか、選択番号を入力します:2
# /etc/rc.d/init.d/postfix start
# chkconfig sendmail off
# chkconfig postfix on
# yum -y install dovecot
# vi /etc/dovecot.conf
#protocols = imap imaps pop3 pop3s
↓
protocols = imap imaps pop3 pop3s # コメントを外す
#mail_location =
↓
mail_location = maildir:~/Maildir # メールボックスを指定
# /etc/rc.d/init.d/dovecot start
# chkconfig dovecot on