[default]                                       # This section provides default arguments and values,
                                                #    and variables which can be used in other sections
verbose = 1                                     # Be verbose by default
readall = 0                                     # Retrieve only new messages by default
delete = 1                                      # Delete mail after retrieval by default
message_log = /var/log/getmail.log              # Log message retrieval and delivery to this file by default
timeout = 240                                   # TCP timeout value; increase if on a poor connection or
                                                #    slow POP3 server.  getmail defaults to a 180 second timeout.
max_message_size = 1048576                      # Don't retrieve messages over 1MB (MiB).  Default is 0, which
                                                #    means no limit.

[Joe's Mail]                                    # Simple configuration for a single-user POP3 mailbox
server = mail.isp.com
port = 8110
username = joeuser
                                                # no password specified; prompt for it when getmail is run
use_apop = 1                                    # Use APOP authentication for this account instead of
                                                #   cleartext PASS
postmaster = ~joeuser/Mail/default/             # Default delivery to this Maildir
message_log = ""                                # Don't log for this account
                                                # No "local" directives necessary.
no_delivered_to = 1                             # Don't add a Delivered-To: header for this mailbox
no_received = 1                                 # Don't add a Received: header for this mailbox

[Company1 Maildrop]                             # Domain mailbox configuration
server = mail.isp.net
username = getmailinc
password = "password with trailing spaces   "
delete = 0                                      # Don't delete messages immediately after retrieval
delete_after = 10                               # Instead, delete them 10 days after first retrieving them
use_*env = 1                                    # Use Demon's SPDS *ENV POP3 extension to retrieve
                                                #   envelope sender and recipient addresses.
postmaster = /var/spool/mail/postmaster/        # default maildir destination if none of the "local" directives
                                                #   match
command_add_fromline = 0						# Don't prepend an mbox-type From_ line to messages delivered
												#   to commands
                                                # Use regular expression matching on the following addresses
local = ^user1@isp.net$,~user1/Maildir/         # Mail for "user1@isp.net" is delivered to ~user1/Maildir/
local = ^user2-list@isp.net$,~user2/Mail/list/  # Handle this qmail-style extension address separately.
local = "^user3@isp.net$,|/usr/bin/maildrop -a" # Deliver mail for "user3@isp.net" to /usr/bin/maildrop for
                                                #    further processing

[Company2 Maildrop]                             # Domain mailbox configuration
server = pop.exmple.org
username = getmailltd
password = pass
envelope_recipient = 'delivered-to:2'           # Retrieve the original envelope recipient address from the
                                                #   second Delivered-To: header field in each message
postmaster = /home/jeff/Mail/                   # default maildir destination if none of the "local" directives
                                                #   match
                                                # Use regular expression matching on the following addresses
local = ^user1@getmailltd.tld$,~user1/Maildir/  # Mail for "user1@getmailltd.tld" is delivered to ~user1/Maildir/
