I try to see the raw data of a mail that I sent with mail -s "My Subject" [email protected].

Is it possible, if so, how?

Expected output is similar to:

From: "root" <[email protected]>
To: [email protected]
Subject: My Subject
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

My Body

1 Answer 1


mailq or postqueue -p will show my queue (incl. my rejected mail). I can pass that identifier to postcat -q $ID to see the raw message.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .