Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I want to send myself a mail from the tree structure of the box. I did a

# tree > tree.txt
# mail -s "tree strct" < tree.txt

The error should be high file size

postdrop: warning: uid=0: Illegal seek
send-mail: fatal: root(0): queue file write error

How can I send a mail with the command tree.

Thanks Jean

share|improve this question
up vote 1 down vote accepted

If your mail is too large, you can try compressing it first:

tree | gzip -c | uuencode tree.txt.gz | mail -s "tree strct"
share|improve this answer

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.