in reply to hashing out lines from mailq...
mailq | perl -lane '$/=q[]; print $F[0].q[ ].$F[$#F].$/ unless /^-/;' [download]