How does one delete from the corrupt queue? 

FreeBSD 10.3 and Postfix 3.2.3

I have inspected the message, know the cause of the corruption, and wish to 
delete it.

Upon restart, I see this output from Postfix:

postfix/postfix-script: warning: damaged message: corrupt/B251C2BDE

The filesystem contains:

$ sudo find /var/spool/postfix/ -name B251C2BDE
/var/spool/postfix/defer/B/B251C2BDE
/var/spool/postfix/corrupt/B251C2BDE

Let's try deleting:

$ sudo postsuper -d corrupt/B251C2BDE
postsuper: warning: invalid mail queue id: corrupt/B251C2BDE

$ sudo postsuper -d B251C2BDE
$ sudo postsuper -d B251C2BDE corrupt
postsuper: fatal: invalid directory name: corrupt
$ sudo postsuper -d B251C2BDE defer  
$ sudo find /var/spool/postfix/ -name B251C2BDE
/var/spool/postfix/defer/B/B251C2BDE
/var/spool/postfix/corrupt/B251C2BDE
$ 

It's still there.

Am I doing this right?

Thank you.

-- 
Dan Langille - BSDCan / PGCon
d...@langille.org


Reply via email to