openSUSE Leap 15.2 postfix 送信キューの確認と削除

postfix 送信キューの確認と削除


- 送信キューの確認 -


mail2:~ # postqueue -p
-Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient-------
C16E980855B      276 Wed Aug 19 13:34:44  dummy@islandcenter.jp
      (connect to mail.islandcenter.jp[153.125.134.9]:25: Connection timed out)
                                         knakaj@mail.i.islandcenter.jp

8713D80855C     2589 Wed Aug 19 15:31:00  MAILER-DAEMON
      (connect to mail.islandcenter.jp[153.125.134.9]:25: Connection timed out)
                                         dummy@islandcenter.jp

-- 2 Kbytes in 2 Requests.


- 送信キューディレクトリ -


mail2:~ # ls /var/spool/postfix/deferred/ -al
total 0
drwx------  5 postfix root     33 Aug 20 13:50 .
drwxr-xr-x 16 root    root    201 Aug  7 02:12 ..
drwx------  2 postfix postfix  25 Aug 20 13:50 2
drwx------  2 postfix postfix   6 Aug 20 10:15 8
drwx------  2 postfix postfix   6 Aug 20 10:15 C
mail2:~ # ls /var/spool/postfix/deferred/2 -al
total 4
drwx------ 2 postfix postfix  25 Aug 20 13:50 .
drwx------ 5 postfix root     33 Aug 20 13:50 ..
-rwx------ 1 postfix postfix 925 Aug 20  2020 24D1680855B




- 全て削除 -


mail2:~ # postsuper -d ALL
postsuper: Deleted: 1 message
mail2:~ #
mail2:~ # cat /var/spool/postfix/deferred/2/24D1680855B
cat: /var/spool/postfix/deferred/2/24D1680855B: No such file or directory

mail2:~ # postqueue -p
Mail queue is empty
mail2:~ #





by islandcenter | 2020-08-20 14:09 | Linux | Comments(0)