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.

Is there a way to read deffered mail from /var/spool/postfix/deferred. I tried to copy file to my mail directory and see it from webmail but it dosnt work. When im using less or cat it seems like files in spool/deferred are some binary files.

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

You need to get the message id first with postqueue -p then once you have the message id you read it with postcat -q messageid. Of course replace messageid with the actual id you find.

share|improve this answer
add comment

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.