Tente isto:
grep -e "^[^#]*bin/exim.*" -e "^[^#]*SendEmail.*" -e "^[^#]*Unformatted.*" test.txt
Eu tentei com este arquivo
# test
#test
# test
#test
test
toto
#toto
# toto
test
toto
test
#bin/exim
#SendEmail
#Unformatted
# bin/exim
# SendEmail
# Unformatted
# bin/exim
# SendEmail
# Unformatted
#bin/exim
#SendEmail
#Unformatted
bin/exim
SendEmail
Unformatted