简体   繁体   English

Magento正在向所有电子邮件地址发送确认电子邮件,但网站管理员的电子邮件除外

[英]Magento is sending confirmation emails to all email addresses except site admin's

My Magento site has been sending order confirmations to all email addresses except for the admin email address of the site. 我的Magento网站已向所有电子邮件地址发送订单确认信息,但该网站的管理员电子邮件地址除外。 I questioned if a spam filter was the real issue and Magento does not appear to be hitting any errors, but I'm not seeing any kind of exception through Magento. 我质疑垃圾邮件过滤器是否是真正的问题,并且Magento似乎没有遇到任何错误,但是我没有通过Magento看到任何异常。 Has anyone else experienced issues with order confirmation emails for orders placed with the admin account for Magento? 使用Magento管理员帐户下的订单的订单确认电子邮件是否还有其他问题?

We bumped into the same problem. 我们遇到了同样的问题。 I must say it did confuse us for quite a while. 我必须说,这确实使我们感到困惑了一段时间。 Basically, if it works with third party domains, all you need to do is to disable postfix local delivery . 基本上,如果它可与第三方域一起使用,您所需要做的就是禁用postfix本地传递

In order to do that, please refer here: https://serverfault.com/questions/137591/postifx-disable-local-delivery 为此,请参阅此处: https : //serverfault.com/questions/137591/postifx-disable-local-delivery

Here's an excerpt from our main.cf file: 这是我们main.cf文件的摘录

myhostname = www.someshop.co.uk (this is obviously not real)
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =
relayhost = smtp.mailgun.org:25 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

We left mydestination blank to do it. 我们把mydestination留空了。 Magic. 魔法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM