Wanderlust 分拣邮件

使用 pipe folder 分拣邮件:

+xx/inbox "Inbox"
|/from:[email protected]/+xx/inbox|+xx/class1 "Class1"
|/from:[email protected]/+xx/inbox|+xx/class2 "Class2"

如果如果只打开 Inbox,本该移动到 class1class2 文件夹邮件还是在 Inbox 下,只有分别打开 class1class2 文件夹,才会移动相应的邮件到相应的的邮件夹,有没有方法在 check 完 Inbox 就移动相应的邮件。

或者有没有别的分拣邮件的方法。

procmail or maildrop

在wanderlust里面怎么配置啊,使用procmamil的话

用 MailDir 格式啊。

在wanderlust里怎么调用 procmail 分拣邮件啊,难道只能用 getmail吗

我是用 pipe folder 输出到 /var/spool/mail,然后配置 macOS 自带的 postfix 调用 procmail。然而似乎这个比用 getmail 更复杂。

没仔细看题,发现你把 filter folder 和 pipe folder 用在一起了。你似乎对 filter folder 的理解有误差,这只是一个虚拟文件夹,负责搜索指定文件夹中满足条件的邮件显示出来,也就是说邮件实际上本来就是不会动的。

你需要的应该是 Split message

但是用pipe folder包起来了啊,pipe folder 会动啊。流程是 filter folder 把邮件筛选出来,pipe folder 移动邮件。应该是 pipe folder 的设计理念不同,就是要打开相应的的 pipe folder ,进入相应pipe folder 的summary 才移动邮件,而不是在 desktop check 相应的 pipe folder 就移动邮件。

When you access the pipe folder, messages are automatically transferred from source-folder to destination-folder.

讲道理,在check的时候就移动要合理一些。

因為 filter folder 实际上不存在,只有緩存,所以只能在打开的时候刷新。