【问题标题】:trouble with EXIM passing e-mailsEXIM 传递电子邮件的问题
【发布时间】:2020-05-09 02:59:57
【问题描述】:

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

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

我找到了这个 Magento/exim emails not arriving, sent to and from own domain ,但是第二个答案也没有解决我的问题。

我在 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 上的 paytoomuch.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

【问题讨论】:

    标签: email smtp exim exim4


    【解决方案1】:

    exim4.conf.template文件

    行:

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

    转换为:

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

    重启exim:

    service exim4 restart
    

    【讨论】:

      猜你喜欢
      • 2010-09-07
      • 2022-01-24
      • 2017-06-07
      • 1970-01-01
      • 2014-12-30
      • 2018-04-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多