Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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

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


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.