]> Pileus Git - ~andy/fetchmail/blob - sample.rcfile
RC file syntax change, folder->mailbox, remote->remotename.
[~andy/fetchmail] / sample.rcfile
1 # fetchmail control file sample
2 #
3 # This file (or one of your own creation, rather) should be located 
4 # in your home directory with the name .fetchmailrc.  Permissions on this
5 # file may be no greater than -rw-------, or fetchmail will refuse to
6 # use it.
7 #
8 # To see what effect your ~/.fetchmailrc file has, do 
9 #
10 #       fetchmail --version
11 #
12 # This will display the fetchmail version number and an explanation
13 # in English of what the currently set options and defaults mean.
14 #
15 # Comments begin with a '#' and extend through the end of the line.
16 # Blank lines between server entries are ignored.
17 # Keywords and identifiers are case sensitive.
18 # When there is a conflict between the command-line arguments and the
19 # arguments in this file, the command-line arguments take precedence.
20 #
21 # Legal keywords are
22 #   server
23 #   protocol (or proto)
24 #   localname (or local)
25 #   username (or user)
26 #   remotename (or remote)
27 #   password (or pass)
28 #   mailbox
29 #   smtphost (or smtp)
30 #   mda
31 #   keep
32 #   flush
33 #   fetchall
34 #   rewrite
35 #   skip
36 #   nokeep
37 #   noflush
38 #   nofetchall
39 #   norewrite
40 #   noskip
41 #   port
42 #
43 # Legal protocol identifiers are
44 #   pop2 (or POP2)
45 #   pop3 (or POP3)
46 #   imap (or IMAP)
47 #   apop (or APOP)
48 #   rpop (or RPOP)
49 #
50 # Basic format is
51 # server SERVERNAME protocol PROTOCOL username NAME password PASSWORD 
52 # Example:
53 #
54 server pop.provider.net protocol pop3 username jsmith password secret1
55
56 # Or, using some abbreviations:
57 #
58 server pop.provider.net proto pop3 user jsmith password secret1
59
60 # Multiple servers may be listed
61 #
62 server pop.provider.net proto pop3 user jsmith password secret1
63 server other.provider.net proto pop2 user John.Smith password My^Hat
64
65 # Other possibilities (note use of \ to escape newline -- this is all 
66 # one server definition.
67 server pop.provider.net         \
68         proto pop3              \
69         user jsmith             \
70         pass secret1