0

我在 EXIM 传递电子邮件时遇到问题。域是虚构的,但对我来说比使用“示例”更好。

Expected -> device -> relay@insurance.savewiththelizard.com -> payingtoomuch.com
Happening -> device -> relay@insurance.savewiththelizard.com -> vanishes

我发现这封Magento/exim 电子邮件没有到达,没有发送到自己的域,但是第二个答案也没有解决我的问题。

我在 GSuite 上托管了 paytoomuch.com 电子邮件。我在 insurance.savewiththelizard.com 上托管了 paytoomuch.com 网站。

当我使用 relay@insurance.savewiththelizard.com 时,它将传递到不在本地托管的域。示例:我可以使用 relay@insurance.savewiththelizard.com 向 gmail.com、outlook.com、thiscompany.com 发送电子邮件,但无法向 paytoumuch.com 发送电子邮件。发送电子邮件时没有错误。

在 VestaCP 上,为 insurance.savewiththelizard.com 上的 paytoumuch.com 安装了 DNS 或 MAIL。

payingtoomuch.com
A = 33.33.33.1  [fictitious]
WWW = 33.33.33.1 [fictitious]
MX = aspmx.l.google.com

insurance.savewiththelizard.com SMTP
A = 33.33.33.1  [fictitious]
MX = 33.33.33.1 [fictitious]
2020-05-07 19:45:53 1jRwFF-0001mO-Ic <= relay@insurance.savewiththelizard.com H=(SERVER218) [X] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no A=dovecot_plain:relay@insurance.savewiththelizard.com S=28773
2020-05-07 19:45:54 1jRwFF-0001mO-Ic => doctor@payingtoomuch.com R=dnslookup T=remote_smtp H=aspmx.l.google.com [172.217.197.26] X=TLS1.2:ECDHE_ECDSA_AES_128_GCM_SHA256:128 CV=yes C="250 2.0.0 OK  1588898754 138si4849187qkm.228 - gsmtp"
2
2020-05-07 07:03:37 1Wfk3-0001eA-FF <= relay@insurance.savewiththelizard.com H=(EXTRA) [X] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no A=dovecot_plain:relay@insurance.savewiththelizard.com S=38927
2020-05-07 07:03:38 1Wfk3-0001eA-FF => accounting@payingtoomuch.com R=dnslookup T=remote_smtp H=aspmx.l.google.com [209.85.144.27] X=TLS1.2:ECDHE_ECDSA_AES_128_GCM_SHA256:128 CV=yes C="250 2.0.0 OK  1588853018 z5si2008827qtb.399 - gsmtp"
2020-05-07 07:03:38 1Wfk3-0001eA-FF Completed
2

电子邮件不在垃圾邮件、垃圾邮件等中。

我认为其中之一可能会解决问题,但事实并非如此。

routetotpay:
  driver = manualroute
  route_list = payingtoomuch.com
  transport = remote_smtp
smart_route:
  driver = manualroute
  route_list = payingtoomuch.com
  transport = remote_smtp
4

1 回答 1

1

exim4.conf.template文件

线:

domainlist local_domains = dsearch;/etc/exim4/domains/

转换成:

domainlist local_domains = !payingtoomuch.com : dsearch;/etc/exim4/domains/

重启 exim:

service exim4 restart
于 2020-07-15T22:23:38.863 回答