Postfix/devcot MailServer - 電子メールを受信しません。

Postfix/devcot MailServer - 電子メールを受信しません。

私は通常LinuxとUNIXに初めてアクセスし、長年共有ホスティングプロバイダと協力してきました。

さて、VPS(共有ホスティングでホスティングに使用するすべてのアイテムを移動しました)から独自のメールサーバーを作成しようとしています。 CentOS6を実行し、このガイドに従っています。http://wiki.centos.org/HowTos/postfix(独自のドメイン名があります。example.comと呼びます。)

すべてを段階的に進めながら(時には盲目的にステップに従うこともあります)、ついに登録機関を通じて2つの新しいDNSレコードを作成しました。MX履歴(example.com => mail.example.com)と追加履歴(mail.example.com=>VPS IP)

MX example.comを見ると、次のことができます。

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41372
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;example.com.               IN      MX

;; ANSWER SECTION:
example.com.        299     IN      MX      1 dc-8c1937cd-mail.example.com.

;; Query time: 43 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Mar 29 14:36:20 2014
;; MSG SIZE  rcvd: 66

正直なところ、この「dc-8c1937cd-mail.example.com」MXレコードとは何かわかりません。私はレコードを設定したので、ちょうど「mail.example.com」だと思いました。 be VPSに移動した後にDNSネームサーバーを切り替えた以前の共有ホスティング設定に関連していますか?

また、Telnetを使ってテストメールを送ってみました。

[root@server ~]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 mail.exampe.com ESMTP Postfix
mail from: root@localhost
rcpt to: [email protected]
data
Subject: My first mail on Postfix

test!
.250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>

反応は良いようですが、両方を確認しました。/var/メール/ユーザーそして/var/スプール/メール/ユーザー電子メールの場合は何も表示されません(私のユーザーファイルは実際にはこのフォルダにあり、両方のファイルは空です)。

私がどこで間違っているのか、どうやって見つけることができるのかご存知ですか?

postconf -n 結果:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = localhost
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = example.com
myhostname = mail.example.com
mynetworks = 168.100.189.0/28, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relay_domains =
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

ベストアンサー1

おすすめ記事