SUBJECT
Dovecot 允许我在返回时进行搜索body
doveadm fetch -u myUser body SUBJECT mySubject
body:
My Body of message
这表明它知道 aSUBJECT
是什么,但是当我尝试返回subject
's
doveadm fetch -u myUser subject ALL
我明白了,
可用的获取字段:
hdr.<name> body.<section> binary.<section> user mailbox mailbox-guid seq uid guid flags modseq hdr body body.snippet text text.utf8 size.physical size.virtual date.received date.sent date.saved date.received.unixtime date.sent.unixtime date.saved.unixtime imap.envelope imap.body imap.bodystructure pop3.uidl pop3.order refcount storageid
致命:未知的获取字段:主题
如何为用户返回所有消息的主题?
答案1
主题是标题 ( hdr
) 的一部分,所以您想要的是
doveadm fetch -u myUser hdr.subject ALL