
176 Linux Applications on pSeries
messages should not be deleted from the mailbox on the POP3 server mbox1,
but should be kept there with the -k option. We also specify that the POP3
protocol should be used (default is the IMAP protocol), and we are prompted to
supply the password interactively.
Example 6-6 Using fetchmail with command line options
root@fenris:/: fetchmail -u root -k -p POP3 mbox1
Enter password for root@mbox1:
1 message (1 seen) for root at mbox1 (324 octets).
skipping message root@mbox1:1 (324 octets) not flushed
Before you use fetchmail, you could create a .fetchmailrc file in your home
directory. The ~/.fetchmailrc file can be ...