开发者

How do I inject a message into Postfix's queue? [closed]

开发者 https://www.devze.com 2023-01-08 22:54 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_开发技巧 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.
开发者_开发技巧

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

I am working on an application that quarantines and routes email. Let's say in this application that I have an email message in a directory of my choosing and it has been scanned by our software and is considered "clean". How do I inject this message back into Postfix?


Maybe you simply use sendmail ?


I recognize that this is a rather old question. For the benefit of people stumbling across this question:

The qpsmtpd SMTP daemon has a Postfix Queue-Plugin to inject mails into Postfix. The plugin directly talks to the cleanup daemon of Postfix. It shall be rather easy to adapt/port that code (it's written in perl).

http://www.qpsmtpd.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消