> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/untitled-1.md).

# 關於mail

## 列出目前在 Mail Queue 中的信件

mailq

## 刪除所有在 Queue 中的郵件

```
postsuper -d ALL
```

## 刪除所有正在 deferred 佇列中的郵件 ( 刪除曾經發送失敗的信 )

```
postsuper -d ALL deferred
postsuper: Deleted: 3505 messages
```

## 刪除所有正在 deferred 佇列中的郵件 ( 可看出哪些信被刪除了 )

find /var/spool/postfix/deferred -type f -exec rm -vf {} \\;
