Procmail 与 Maildrop - 使用哪个?
我需要进行邮件处理,在其中操作邮件内容或在收到电子邮件时调用脚本,支持多个电子邮件地址作为访问点。在阅读 MDA 代理时,procmail 似乎是标准备用,但 maildrop 也有一些追随者。维基百科评论说,任何开始新事物的人都应该考虑 maildrop,因为 procmail 已经有一段时间没有进步了。
特性或功能是否有任何可靠的理由表明使用其中一种而不是另一种?
I need to do mail processing where I manipulate the contents of the mail or invoke a script on the receipt of email, supporting a number of email addresses as the access points. In reading through the MDA agents, procmail appears to be the standard standby, but maildrop has some following too. Wikipedia comments that anyone starting something new should consider maildrop because procmail hasn't been advanced in quite a while.
Are there any solid reasons from features or capabilities that would indicate using one of these over the other?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是我在不同地方读到的内容的摘要:
Maildrop 声称是 procmail 的“直接替代品”。
Procmail 使用古老的语法和几个难以记忆的单字母命令。 Maildrop 使用更强大、更通用、更易读的模式操作语法,与 awk 非常相似。
procmail 比 maildrop 使用更广泛。 Procmail 在线提供了更多示例。
Procmail 将大邮件读取到内存中。 Maildrop 使用管道和临时文件来避免 RAM 过载。 Procmail 声称有非常轻微的速度优势。
我的建议:阅读两者的文档,并选择语法对您更有意义的文档。
Here is a summary of what I have read in various places:
Maildrop claims to be a "drop-in replacement" for procmail.
Procmail uses an archaic syntax with several unmemorable single-letter commands. Maildrop uses a more powerful, versatile, and readable pattern-action syntax which bears a strong resemblance to that of awk.
Procmail is more widely used than maildrop. Procmail has more examples available on line.
Procmail reads large messages into memory. Maildrop makes use of pipes and temporary files to avoid overloading RAM. Procmail claims to have a very slight speed advantage.
My suggestion: Read the docs for both, and go with the one whose syntax makes more sense to you.
很难回答。据我所知,procmail 非常稳定并且运行良好。
(对我而言)不清楚 maildrop 是否可以像 procmail 一样轻松地集成到 .forward 中。
procmail 的优点是:
相反:
http://pm-doc.sourceforge.net/doc/
但应该稍微编辑一下。
It is quite difficult to answer. As far as I can see, procmail is very stable and works well.
It is not clear (to me) if maildrop can be integrated so easily in .forward like procmail.
The good things of procmail are:
On the opposite:
http://pm-doc.sourceforge.net/doc/
but should be edited a bit.