configurationPostfix使用milter(archiveSMTP)

如何configurationPostfix使用milter“archiveSMTP”?

milterconfiguration说明( http://www.dancingfortune.com/projects/archivesmtp/download.php )仅提及milter和MTA之间的通信的一个套接字

…然而,我读的任何Postfix文档都使用两个套接字 – 一个用于监听来自 Postfix队列的消息另一个用于重新注入Postfix队列。

所以,我添加一个后缀教程(后缀:权威指南)

archive unix - - n - 10 smtp -o myhostname=localhost 

master.cf发送消息 milter。 并在main.cf中启用

  content_filter = archive:[127.0.0.1]unix:/var/run/archivesmtp/mta.sock 

(我确信这是正确的,因为archiveSMTP文档给出了一个Sendmail的例子,并调用这个套接字(unix:/var/run/archivesmtp/mta.sock) input邮件filter)

Postfix教程继续定义另一个套接字(这次是inet格式),如下所示:

  localhost:10026 inet n - n - 10 smtpd 

(再次在master.cf中)

重新注入Postfix队列。

…除了archiveSMTP没有提到第二个套接字。

Postfix提供了几种不同的方法来过滤/扫描消息。 看起来你已经尝试了“ Postfix after-Queue Content Filter ”而不是“ Postfix before-queue Milter support ”。

url: