GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: Reading Mail   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.5.5.1 Quitting the Program

Following commands quit the program:

quit

Terminates the session. If mail was operating upon user’s system mailbox, then all undeleted and unsaved messages that have been read and are not marked with hold flag are saved to the user’s mbox file ($HOME/mbox). The messages, marked with delete are removed. The program exits to the Shell, unless saving the mailbox fails, in which case user can escape with the exit command.

exit
ex
xit

Program exits to the Shell without modifying the mailbox it operates upon.

Typing EOF (‘C-D’) alone is equivalent to ‘quit’.