状況
このサイトを見てPostfixとDovecotの設定をやりました。
・telnet host 25 で繋いで、ログイン、送信が可能
・テストで送信されたメールが、~/home/user/Maildir/new
に配送されない
・/var/mail/spool/
にも配送されない
・/etc/aliases
で設定したメールアドレスにメールが来る
`
#main.cfの関係ありそうなところ
myhostname = cnameで設定したものex(mail.hoge.com)
mydomain = aレコードを設定したドメイン(hoge.com)
inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestinationはこれの他に
mydestination = localhost, $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost
#これで試しました
home_mailbox = Maildir/
#mynetworksは
mynetworks = 127.0.0.0/8, 192.168.1.0/24, xxx.xxx.xxx.xxx #(自分のホスト
mynetworks = localhost
mynetworks = 10.0.0.0/16, 127.0.0.0/8
#これで試しましたが、ここに何を入れたら良いのか分かっていません。
#relayhost = 未設定
#mynetworks_style = 未設定
`
postfixはこんな感じで設定していて、dovecotの中の10-mail.confと10-auth.confは、
メール受け取るフォルダの設定をMaildirにしてあるのと平文を許可するか否かの設定がしてあるだけです。
ログは
Mar 3 17:51:51 xxx postfix/pickup[21949]: 81EC45E0AAE: uid=503 from=<xx> Mar 3 17:51:51 xxx postfix/cleanup[21955]: 81EC45E0AAE: message-id=<20150303085151.81EC45E0AAE@dd.org> Mar 3 17:51:51 xxx postfix/qmgr[21950]: 81EC45E0AAE: from=<xx@dd.org>, size=417, nrcpt=1 (queue active) Mar 3 17:51:51 xxx postfix/cleanup[21955]: 846585E0A9B: message-id=<20150303085151.81EC45E0AAE@dd.org> Mar 3 17:51:51 xxx postfix/local[21957]: 81EC45E0AAE: to=<xx@dd.org>, orig_to=<xxx>, relay=local, delay=0.02, delays=0.02/0/0/0, dsn=2.0.0, status=sent (forwarded as 846585E0A9B) Mar 3 17:51:51 xxx postfix/qmgr[21950]: 846585E0A9B: from=<xx@dd.org>, size=553, nrcpt=1 (queue active) Mar 3 17:51:51 xxx postfix/qmgr[21950]: 81EC45E0AAE: removed Mar 3 17:51:53 xxx postfix/smtp[21958]: 846585E0A9B: to=<d@gmail.com>, orig_to=<xxx>, relay=gmail-smtp-in.l.google.com[173.194.72.27]:25, delay=2.1, delays=0/0/0.78/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1425372713 bh2si57048pbc.166 - gsmtp) Mar 3 17:51:53 xxx postfix/qmgr[21950]: 846585E0A9B: removed
こんな感じで正常に送信できてるように思うのですが、問題の検討さえつかない状態です。何か手がかりを教えて頂けないでしょうか・・・。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/03/04 15:14