私のハトが他の人から電子メールを受信できないのはなぜですか? [閉鎖]

私のハトが他の人から電子メールを受信できないのはなぜですか? [閉鎖]

postfixとdovecotは私のvps-centos7にインストールされています。

他の人に電子メールを送信できますが、なぜ他の人から電子メールを受信できないのですか?

ポートに問題はありません。

netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN  

私のvpsにリモートでログインしてください。

telnet xxxxxxx  110
Trying xxxxxxxx...
Connected to xxxxxx
Escape character is '^]'.
Connection closed by foreign host.

ファイアウォールの電源を切るのは役に立ちません systemctl stop firewalld

ロフトにエラーがあるかどうかを確認するには?
1. doveconf -n

 # 2.2.10: /etc/dovecot/dovecot.conf
 # OS: Linux 2.6.32-042stab123.3 x86_64 CentOS Linux release 7.2.1511 (Core)  
disable_plaintext_auth = no
first_valid_uid = 1000
listen = *
log_path = /var/log/dovecot.log
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    mode = 0600
    user = vmail
  }
}
ssl = required
userdb {
  driver = passwd
}
  1. 会議後-n

    alias_database = ハッシュ: /etc/aliases
    alias_maps = ハッシュ: /etc/
    aliasesbroken_sasl_auth_clients = はい
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix data_directory = /var /
    lib = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 home_mailbox = Maildir/ html_directory = なし inet_interfaces = すべて inet_protocols = すべて local mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,mail.$mydomain, www.$mydomain, ftp. mydomain = xxxx myhostname = xxxx mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = spool/postfix readme ディレクトリ = /usr/share/doc/postfix-2.10.1/README_FILES リレードメイン = $mydestination サンプルディレクトリ = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail .postfix setgid_group=postdrop smtpd_client_restrictions=allow_sasl_authenticated smtpd_recipient_restrictions=bers_sasl_authenticated,recupl_unauth_destinati ecipient_reject_code =550

























  2. リモートログイン xxxx 25

    xxxxをxxxxxxに接続しようとしています

    エスケープ文字は「^]」です。
    220 xxxxxx ESMTP サフィックス

ベストアンサー1

する

dig domain.tld in MX

以下の内容を含む返信をお送りください。

domain.tld.  86400 IN MX 10 mail.domain.tld.

そうでない場合は、次のようにDNSにMXレコードを追加する必要があります。

owner-name           ttl  class   rr  pref name
example.com.         3w   IN      MX  10   mail.example.com.

上記の例の良い説明とソースは次のとおりです。

zytrax.comのメール交換履歴(MX)

おすすめ記事