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.

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

# tree > tree.txt
# mail -s "tree strct" email@server.com < 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

2 Answers 2

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" email@server.com
share|improve this answer

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.