Postfix内容filter不传回消息
我正在使用简单的内容filter将邮件传递给perl脚本,以使用pgp密钥进行encryption。 Master.Cf在smtp下 -o content_filter=mail_encrypt:dummy 然后 mail_encrypt unix – nn – – pipe flags= user=gpgmap argv=/usr/sbin/gpgit.pl ${recipient} Main.cf content_filter = mail_encrypt 我使用了由Mike Cardwell编写的简单的perl脚本, https://github.com/mikecardwell/gpgit 它“看起来”像它的工作。 我发送邮件,postfix手到mail_encrypt,并给我一个成功传递的消息。 mail postfix/pipe[3149]: 3E87341017: to=<[email protected]>,relay=mail_encrypt,delay=1.6, delays=0.52/0.01/0/1.1, dsn=2.0.0, status=sent (delivered via mail_encrypt service) 但是这个消息没有任何意义。 我认为这不是交给PF来交付,但我不知道在哪里看这一点。 更新:我再次通过content_filter rfc读取并使用高级内容filter。 scan unix – – n – 10 smtp -o smtp_send_xforward_command=yes -o disable_mime_output_conversion=yes -o smtp_generic_maps= localhost:10026 […]