Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个隔离和路由电子邮件的应用程序。假设在这个应用程序中,我在我选择的目录中有一封电子邮件,它已被我们的软件扫描并被认为是“干净的”。如何将此消息注入 Postfix?
也许您只是使用sendmail?
sendmail
我承认这是一个相当古老的问题。为了人们偶然发现这个问题的利益:
qpsmtpd SMTP 守护进程有一个 Postfix Queue-Plugin 用于将邮件注入 Postfix。该插件直接与 Postfix 的清理守护进程对话。改编/移植该代码应该相当容易(它是用perl编写的)。
http://www.qpsmtpd.org/