As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center提供指导。




9年前关闭。




您在.procmailrc文件中放入任何方便的常规项目吗?

最佳答案

如果回复时,许多邮件发件人都在邮件的主题前加上“Re:”作为前缀。如果该前缀还不存在,则德语Outlook会以“AW:”(对于“AntWort”)为前缀。不幸的是,这两种行为发生冲突,导致出现诸如“Re:AW:Re:AW:Re:AW:Re:AW:Lunch”之类的邮件主题。所以我现在有:

:0f
* ^Subject: (Antwort|AW):
|sed -r -e '1,/^$/s/^(Subject: )(((Antwort: )|(Re: )|(AW: ))+)(.*)/\1Re: \7\nX-Orig-Subject: \2\7/'

从而将这些限制(以及一个“Antwort:”前缀,我显然在某些时候也被打扰了)缩减为单个“Re:”。

关于email - 您的.procmailrc中有什么,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8493/

10-11 19:14