博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
maildir 邮件文件名 记录
阅读量:7108 次
发布时间:2019-06-28

本文共 2062 字,大约阅读时间需要 6 分钟。

  hot3.png

根据 总结下常用

默认情况下收到一封邮件,在cur目录下 生成的文件名为

1465266566.M802559P62166.localhost.localdomain,S=3683,W=3762:2,

对应

The name of the file in new should be "time.MusecPpidVdevIino.host,S=cnt", or "time.MusecPpidVdevIino_unique.host,S=cnt". "dev" is the message's device number, "ino" is the message's inode number (from the previous fstat(2) call); and "cnt" is the message's size, in bytes.

1465266566 是时间

M802559P62166 不清楚是啥

localhost.localdomain 主机名

S=3683 是文件大小,单位是bytes

W=3762:2, 这段没有说明

qmail+couier-imap 默认没看到这段,dovecot有这段,

Look for new messages in the new subdirectory. Rename new/filename, as cur/filename:2,info. Here, info represents the state of the message, and it consists of zero or more boolean flags chosen from the following: "D" - this is a 'draft' message, "R" - this message has been replied to, "S" - this message has been viewed (seen), "T" - this message has been marked to be deleted (trashed), but is not yet removed (messages are removed from maildirs simply by deleting their file), "F" - this message has been marked by the user, for some purpose. These flags must be stored in alphabetical order. New messages contain only the :2, suffix, with no flags, indicating that the messages were not seen, replied, marked, or deleted.

有详细说明

  • Flag "P" (passed): the user has resent/forwarded/bounced this message to someone else.
  • Flag "R" (replied): the user has replied to this message.
  • Flag "S" (seen): the user has viewed this message, though perhaps he didn't read all the way through it.
  • Flag "T" (trashed): the user has moved this message to the trash; the trash will be emptied by a later user action.
  • Flag "D" (draft): the user considers this message a draft; toggled at user discretion.
  • Flag "F" (flagged): user-defined flag; toggled at user discretion.

新信息默认只有**:2,前缀

查看邮件后,文件名变成 1465266566.M802559P62166.localhost.localdomain,S=3683,W=3762:2,S 回复该邮件后,文件名变成 1465266566.M802559P62166.localhost.localdomain,S=3683,W=3762:2,RS 保存到草稿箱,文件名变成 1465267912.M313889P61446.localhost.localdomain,S=1356,W=1392:2,DS

转载于:https://my.oschina.net/hxily/blog/688073

你可能感兴趣的文章
linux gcc编译protocol
查看>>
让linux启动后自动进入图形界面或文本界面
查看>>
C# Thread类的应用
查看>>
如何成为资深的python专家
查看>>
在26个大小写字母(52个),以及9个数字组成的字符列表中,随机生成10个8位密码...
查看>>
办公软件word使用技巧 - imsoft.cnblogs
查看>>
swift 学习- 16 -- 构造过程 02
查看>>
Android IOS WebRTC 音视频开发总结(八十三)-- 使用WebRTC广播网络摄像头视频(上)...
查看>>
异步读写(ReadFileEx和ReadFile)之overlapped
查看>>
51nod1582-n叉树
查看>>
Android重绘ListView高度
查看>>
Android 记住密码和自动登录界面的实现(SharedPreferences 的用法)
查看>>
SageMath: 符号计算
查看>>
校园论坛与校园沟通平台的未来
查看>>
Redis List数据类型
查看>>
php 下载保存文件保存到本地的两种实现方法
查看>>
Azure IoT 技术研究系列4
查看>>
《人月神话》阅读笔记01
查看>>
Tree
查看>>
jQuery的Dom插入操作图示
查看>>