How can I see the contents of the mail whose ID I get from mailq command?
Solution 1:
The best way is to make use of the postcat
command.
postcat -q A705238B4C
At least the system I can look at right now, /var/spool/postfix
is the master directory. Subdirectories of that which matter include active
, deferred
, bounce
, etc. Queued files may be stored using the full file name (A705238B4C
) or with some level of hashing depth (A/7/05238B4C
).