Try to run the grep '^From ' mailbox | awk '{print $2}' | sort | uniq
If I do: grep '^Return-Path: ' mailbox | awk '{print $2}' | sort | uniq I get E-Mail adressess like this: <address1> <address2> ... How can I remove the "<" and ">"? Would it be possible to also get the subject? $ echo $SHELL /bin/bash Thanks for your help :) Jacob