Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hi to everyone like in the title, I would like to know how to get the email address from the qshape deferred queue because I have checked the

/var/spool/postfix/deferred

directory and obviously the messages are listed by ID message. I was thinking to use mailq command and then retrieve the email address with some script but if there is same tool that already to this I really appreciate it. Cheers

share|improve this question

1 Answer 1

try running postcat on actual file containing the message. viewing with any text editor should work too.

share|improve this answer
    
I didn't know this command nice one, but I have more than 50k deferred mail so what you suggest to get all the 50k email address? –  marcodv Apr 9 '12 at 19:44
    
@marcodv - i'm affraid you'll have to do some scripting –  pQd Apr 9 '12 at 19:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.