I am using formail to parse my emails!!! How can i use its options to separate the header, body and attachments of emails!!! Im using following options but these are not working properply,,, can any body tell me how can i use these properly for parsing my emails. To extract the header from a message: formail -X "" or sed -e '/^$/ q' To extract the body from a message: formail -I "" or sed -e '1,/^$/ d' -- Muhammad Rizwan Khan http://nixpanel.com MSN ID: nixpanel@xxxxxxxxxxx -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list