We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
不幸的是,Postfix 不是本地支持 SPF 的邮件服务器之一,但是有一些扩展和补丁,可以在 http://www.openspf.org/Implementations。
虽然有一个可用于 SPF 的 Java 库,但我不知道当前有任何插件或补丁正在使用它。
Unfortunately Postfix is not one of the mail servers that suppose SPF natively, but there are some extensions and patches for this, which can be found at http://www.openspf.org/Implementations.
While a java library is available for SPF, I'm not aware of any plugins or patches that are currently using it.
我遵循的解决方案如下:
我将 Postfix 附加组件列表中提供的 DKIM 和 SenderID milters 附加到我的 Postfix 电子邮件服务器。
由于这些 milters 可以配置为在收到的邮件中添加有关其结果的电子邮件标头,因此我使用 jilter api(java 邮件过滤器 api)编写了一个自定义邮件过滤器,解析了邮件标头,因此我能够确定和根据我自定义的逻辑处理SPF和SenderID的认证结果。
The solution I followed is as:
I attached the DKIM and SenderID milters available from Postfix add-ons list with my Postfix e-mail server.
Since these milters can be configured to add e-mail headers in the received mails about their results, so I wrote a custom mail-filter using jilter api (java mail filter api), parsed the mail headers and hence I was able to determine and act about the authentication results of SPF and SenderID according to my custom logic.