sample.rcfile 1.71 KB
Newer Older
Eric S. Raymond's avatar
Eric S. Raymond committed
1 2 3 4 5 6 7
# .poprc sample
#
# This file (or one of your own creation, rather) should be located 
# in your home directory with the name .poprc.  Permissions on this
# file may be no greater than -rw-------, or popclient will refuse to
# use it.
#
Eric S. Raymond's avatar
Eric S. Raymond committed
8
# To see what effect your ~/.poprc file has, do 
Eric S. Raymond's avatar
Eric S. Raymond committed
9
#
Eric S. Raymond's avatar
Eric S. Raymond committed
10 11 12 13
#	popclient --version
#
# This will display the popclient version number and an explanation
# in English of what the currently set options and defaults mean.
Eric S. Raymond's avatar
Eric S. Raymond committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27
#
# Comments begin with a '#' and extend through the end of the line.
# Blank lines between server entries are ignored.
# Keywords and identifiers are case sensitive.
# When there is a conflict between the command-line arguments and the
# arguments in this file, the command-line arguments take precedence.
#
# Legal keywords are
#   server
#   protocol (or proto)
#   username (or user)
#   password (or pass)
#   remotefolder (or remote)
#   localfolder (or local)
28 29 30 31 32 33 34
#   mda
#   keep
#   flush
#   fetchall
#   nokeep
#   noflush
#   nofetchall
Eric S. Raymond's avatar
Eric S. Raymond committed
35 36 37 38 39 40 41 42 43
#
# Legal protocol identifiers are
#   pop2 (or POP2)
#   pop3 (or POP3)
#   imap (or IMAP)
#   apop (or APOP)
#   rpop (or RPOP)
#
# Basic format is
Eric S. Raymond's avatar
Eric S. Raymond committed
44 45 46
# server SERVERNAME protocol PROTOCOL username NAME password PASSWORD 
# Example:
#
Eric S. Raymond's avatar
Eric S. Raymond committed
47
server pop.provider.net protocol pop3 username jsmith password secret1
Eric S. Raymond's avatar
Eric S. Raymond committed
48 49 50

# Or, using some abbreviations:
#
Eric S. Raymond's avatar
Eric S. Raymond committed
51 52 53
server pop.provider.net proto pop3 user jsmith password secret1

# Multiple servers may be listed
Eric S. Raymond's avatar
Eric S. Raymond committed
54
#
Eric S. Raymond's avatar
Eric S. Raymond committed
55 56 57 58 59 60 61 62 63 64
server pop.provider.net proto pop3 user jsmith password secret1
server other.provider.net proto pop2 user John.Smith password My^Hat

# Other possibilities (note use of \ to escape newline -- this is all 
# one server definition.
server pop.provider.net 	\
	proto pop3		\
	user jsmith		\
	pass secret1		\
	localfolder ~/mbox