Separate smtp settings for immediate and queued emails?

Password emails and personal messages for example, need to be delivered immediately, while newsletter emails can be drip fed over a long period. Currently all emails fall in the same queue, if the mail server has a queue.

Is it possible to have two separate smtp server settings defined to route both types of mails with different priorities?

Thanks.

1 个赞

You could need a plugin. It will not be easy.

If you really want to do that, I think your best bet would be to create your own mail server that accepted all the mail, determined if it was important or not, and then treated it accordingly.

3 个赞

Thanks. I use postfix with a queue right now.
I don’t think it offers prioritization of emails now or that it is going to be easy to do it.

1 个赞

I have no idea how to do it with postfix, but if you were going to pay me money to solve the problem, I’d start on the postfix side, not the discourse side. (I am not asking for money to solve the problem; it’s the kind of job that I’d set an obscenely high
rate for and then be sorry when the client accepted the bid! :wink: )

6 个赞

No, this has been asked before, dual SMTP is not in the cards.

3 个赞

随着聊天通知现在也需要快速发送,我进一步研究并有了一个很好的工作设置。以下是一些有用的提示。

Postfix 提供标头检查功能,用于过滤消息并通过不同的 SMTP 服务器进行中继。因此,它只需要两个 SMTP 服务器来处理普通和优先邮件;并编辑三个 Postfix 配置文件。

2 个赞