Postfixはメールをローカルで送受信しますが、外部メールボックスには送信しません。

Postfixはメールをローカルで送受信しますが、外部メールボックスには送信しません。

Apache WebサイトとPostfixを実行するCentOSシステムがありますが、PHPのmail()関数を使用して@aevidiメールで送信しようとするたびに、〜/ mailのローカルメールボックスに移動しますが、ZohoのWebメールには表示されません。 Gmailアカウントから@aevidiメールでEメールを送信すると、Zohoには表示されますが、ローカルメールボックスには表示されません(予想結果)。これは私の設定です。

  • カスタムドメインの電子メールホストであるZoho
  • 私のウェブサイトとメールサーバーを含むCentOSボックス(サフィックス)

Advanced Zoho/SES/Postfix 設定についてこのチュートリアルに従いました。(正直なところ、SESがどこで動作するのかわかりません)

Postfixを設定するためにこのチュートリアルに従いました。(私はDovecotが何をしているのかを理解する前にすでに削除しました。)


/var/log/maillog after executing mail()

Aug  3 20:05:37 aevidi postfix/pickup[7702]: 31ADD40BDD: uid=48 from=<[email protected]>
Aug  3 20:05:37 aevidi postfix/cleanup[7707]: 31ADD40BDD: message-id=<20140804000537.31ADD40BDD@aevidi>
Aug  3 20:05:37 aevidi postfix/qmgr[7703]: 31ADD40BDD: from=<[email protected]>, size=344, nrcpt=1 (queue active)
Aug  3 20:05:37 aevidi postfix/local[7709]: 31ADD40BDD: to=<[email protected]>, relay=local, delay=0.03, delays=0.02/0.0
1/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Aug  3 20:05:37 aevidi postfix/qmgr[7703]: 31ADD40BDD: removed

/etc/postfix/main.cf

myhostname = aevidi #This is my FQDN when I type 'hostname -f'
mydomain = aevidi.com
myorigin = $mydomain
home_mailbox = mail/
mynetworks = 127.0.0.0/8
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

relayhost = email-smtp.us-east-1.amazonaws.com:25
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_security_level = encrypt
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt

DNS configuration

クラウドフレアDNS


助けてくれてありがとう!

ベストアンサー1

クエリを介してメールを転送するには(あなたのZohoメールサーバー)、postfixieを削除する必要があります。aevidi.comMXi.e$domainaevidi.commydestination

おすすめ記事