(Postfix) Sフラグでメールが詰まる.

postfix正常動作中、mailqも”Mail queue is empty”な状態で、
サーバからメールが受信できない症状が発生。


$ mailq
Mail queue is empty

$ ll /home/ijouser/Maildir/cur/
total 6308
-rw------- 1 ijouser ijouser 3696 Jul 14 11:33 1279074839.V302I80001M709989.sv100.example.com:2,S
-rw------- 1 ijouser ijouser 81540 Jul 14 12:05 1279076747.V302I80002M649647.sv100.example.com:2,
-rw------- 1 ijouser ijouser 9016 Jul 14 12:34 1279078451.V302I80003M119844.sv100.example.com:2,
-rw------- 1 ijouser ijouser 35325 Jul 14 13:35 1279082131.V302I80004M908136.sv100.example.com:2,
-rw------- 1 ijouser ijouser 1874 Jul 14 14:28 1279085331.V302I80005M576519.sv100.example.com:2,
-rw------- 1 ijouser ijouser 4112 Jul 14 14:28 1279085334.V302I80006M181937.sv100.example.com:2,
-rw------- 1 ijouser ijouser 19129 Jul 14 15:38 1279089482.V302I80007M578368.sv100.example.com:2,
-rw------- 1 ijouser ijouser 1708 Jul 14 16:21 1279092119.V302I80008M665502.sv100.example.com:2,
-rw------- 1 ijouser ijouser 1708 Jul 14 16:22 1279092122.V302I8000cM796190.sv100.example.com:2,
-rw------- 1 ijouser ijouser 4893 Jul 14 16:22 1279092173.V302I8000dM669345.sv100.example.com:2,

なにやら”S”フラグが発生して、以降のメールが詰まっている。
とりあえず、”S”フラグが付いたメールをcurから退避させる


$ cd /home/ijouser/Maildir/cur/
$ mkdir /home/ijouser/cur_backup/
$ mv 1279074839.V302I80001M709989.sv100.example.com\:2\,S ../../cur_backup/1279074839.V302I80001M709989.sv100.example.com\:2\,S

これにて正常に受信できた。退避したメールは、catで中身を確認して、
必要あれば、差出人に連絡して再送してもらう。

Leave a Reply

Your email address will not be published. Required fields are marked *