来自专用 IP 和服务器的群发电子邮件
我们有一个专用服务器,并且我们从专用 IP 发送电子邮件。我们使用 PHP 邮件脚本和 Exim 来发送电子邮件。我面临的问题是我们发送的电子邮件数量非常少,例如。只有 25,000 封电子邮件,但当我们检查队列中的电子邮件时,它显示 85,000 封电子邮件。我们正在运行 cron 来获取和发送电子邮件。
发送速度非常低。花了一整天的时间发送 24k 封电子邮件,并且服务器在中间多次超时(还有 smtp 421 错误)。如果我只发送 24,000 封电子邮件,我会很困惑,为什么 85,000 封电子邮件会排入队列,以及为什么要花这么多时间。我也与支持人员交谈过,但没有得到任何满意的答复。这个问题与脚本、cron 或与服务器相关的设置有关?
任何帮助将不胜感激。
谢谢, 阿南德
We have a dedicated server and we are sending emails from a dedicated IP. We are using PHP mailer Script and Exim to send out emails. The problem I am facing is we are sending very low volume emails eg. only 25 k emails but When we check emails in queue, its says 85k emails. We are running cron to fetch and send emails.
The sending speed is very low. It took whole day to send 24k emails and server timed out many a times in Between( ALso smtp 421 error). I am confused if I am only sending 24k emails how come 85 k emails get in queue and why it is taking so much time. I also Talked to support guys but I did not get any satisfactory answer. This issue is related to the script, cron or settings related to server?
Any help will be appreciated.
Thanks,
Anand
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的邮件为 25k,但要发送到不同域的多个收件人,则需要将它们单独发送到每个域,因此如果您至少有四个邮件收件人邮件服务器,则可以轻松拥有 85k 的队列。 4 * 25k > 85k
以 4 开头的 SMTP 响应(例如 421)表示邮件无法立即发送,请稍后重试。这可能仅意味着收件人服务器出现临时问题,也可能有其他原因。您需要就该事宜联系收件人。
至于速度,根据您发送的消息量,您可能看起来非常像垃圾邮件发送者。当您被怀疑发送垃圾邮件时,收件人邮件服务器(或您的 ISP)可以相当合理地限制或拒绝您的连接,导致邮件发送时间更长。这可能就是您积压订单的原因。
如果您不是垃圾邮件发送者,请坚持下去。最终,其他邮件服务器将学会信任您。新的邮件服务器总是看起来很可疑,特别是当它发送大量小电子邮件时。如果您不断发送合法电子邮件,您最终将建立良好的声誉。
另一方面,如果您是垃圾邮件发送者,请立即放弃,您不会获胜。
如果您需要发送大量邮件并且无法等待建立您的声誉,也许可以考虑通过 ISP 的邮件服务器发送(可能适用合理使用限制),或使用群发邮件服务,例如 Mailchimp,或其竞争对手。
If your mails are 25k, but going to multiple recipients at different domains, they will need to be sent separately to each domain, so if you have at least four recipient mail servers for the message, you can easily have a queue of 85k. 4 * 25k > 85k
An SMTP response beginning with 4 (e.g. 421) means the message could not be sent immediately, so try again later. This could just mean there was a temporary problem with the recipient server, or there may be some other reason. You will need to contact the recipient about that one.
As for the speed, based on the volume of messages you are sending, you probably look very much like a spammer. When you are suspected of sending spam, a recipient mail server (or your ISP) can quite reasonably throttle or refuse your connection, causing mails to take longer to send. This is probably why you are getting a backlog.
If you aren't a spammer, hang in there. Eventually, other mail servers will learn to trust you. A new mail server is always going to look suspicious, especially if it is sending a large number of small emails. You will eventually build up a good reputation if you continuously send legitimate emails.
On the other hand, if you are a spammer, give up now, you're not going to win.
If you need to send out lots of messages and cannot afford to wait to build up your reputation, perhaps consider either sending via your ISP's mail server (fair use limits may apply), or using a bulk-mail service such as Mailchimp, or one of its competitors.