The list command simply lists the headers of messages in the current area.
It also shows if a message is marked for deletion or has been read.

The command 'LL' (for List Last) only shows the message headers of the
last few messages in your current area if you have a large number of
messages.
