]> Pileus Git - ~andy/fetchmail/blob - sample.rcfile
This preliminary SSL patch goes to Mike.
[~andy/fetchmail] / sample.rcfile
1 # fetchmail control file sample (remove this header comment from yours!)
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------- (0600), 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 #   poll                      -- must be followed by a mailserver name or label
23 #   skip                      -- must be followed by a mailserver name or label
24 #   via                       -- must be followed by true name of host to poll
25 #   interval                  -- must be followed by an interval skip count
26 #   protocol (or proto)       -- must be followed by a protocol ID
27 #   uidl
28 #   no uidl
29 #   port                      -- must be followed by a TCP/IP port number
30 #   ssl
31 #   sslkeyfile                -- must be followed by path to private key file
32 #   sslcertfile               -- must be followed by path to certificate file
33 #   authenticate (or auth)    -- must be followed by an authentication type
34 #   timeout                   -- must be followed by a numeric timeout value
35 #   envelope                  -- must be followed by an envelope header name
36 #   qvirtual                  -- must be followed by a name prefix
37 #   no envelope
38 #   aka                       -- must be followed by one or more server aliases
39 #   localdomains              -- must be followed by one or more domain names
40 #   interface                 -- must be followed by device/IP address/mask
41 #   monitor                   -- must be followed by device
42 #   plugin                    -- must be followed by a string command name
43 #   plugout                   -- must be followed by a string command name
44 #   dns
45 #   no dns
46 #   checkalias                -- do multidrop address comparison by IP address
47 #   no checkalias             -- do multidrop address comparison by name
48 #
49 #   username (or user)        -- must be followed by a name
50 #   is                        -- must be followed by one or more names
51 #   folder                    -- must be followed by remote folder names
52 #   password (or pass)        -- must be followed by a password string
53 #   smtphost (or smtp)        -- must be followed by host names
54 #   smtpaddress               -- must be followed by a host name
55 #   antispam                  -- must be followed by a numeric response value
56 #   mda                       -- must be followed by an MDA command string
57 #   bsmtp                     -- must be followed by a filename or -
58 #   lmtp
59 #   preconnect (or pre)       -- must be followed by an executable command
60 #   postconnect (or post)     -- must be followed by an executable command
61 #
62 #   keep
63 #   flush
64 #   fetchall
65 #   rewrite
66 #   forcecr
67 #   stripcr
68 #   pass8bits
69 #   dropstatus
70 #   mimedecode
71 #   no keep
72 #   no flush
73 #   no fetchall
74 #   no rewrite
75 #   no forcecr
76 #   no stripcr
77 #   no pass8bits
78 #   no dropstatus
79 #   no mimedecode
80 #   limit                     -- must be followed by numeric size limit
81 #   warnings                  -- must be followed by numeric size limit
82 #   fetchlimit                -- must be followed by numeric msg fetch limit
83 #   batchlimit                -- must be followed by numeric SMTP batch limit
84 #   expunge                   -- must be followed by numeric delete count
85 #   properties                -- must be followed by a string
86 #
87 # Legal protocol identifiers are
88 #   pop2 (or POP2)
89 #   pop3 (or POP3)
90 #   imap (or IMAP)
91 #   imap-k4 (or IMAP-K4)
92 #   apop (or APOP)
93 #   rpop (or RPOP)
94 #   kpop (or KPOP)
95 #   etrn (or ETRN)
96 #
97 # Add ssl for protocols operating over an SSL connection (POP3 and IMAP)
98 #   Default port for IMAPS (IMAP over SSL) is 993
99 #   Default port for POP3S (POP3 over SSL) is 995
100 #      Taken from assigned numbers and compatible with netscape/outlook usage.
101 #
102 # Legal authentication types are
103 #   login
104 #   kerberos
105 #   kerberos_v5
106 #
107 # Legal global option statements are
108 #
109 #   set logfile                 -- must be followed by a string
110 #   set idfile                  -- must be followed by a string
111 #   set postmaster              -- must be followed by a string
112 #   set daemon                  -- must be followed by a number   
113 #   set syslog
114 #   set invisible
115 #
116 # The noise keywords `and', `with', `has', `wants', and `options' are ignored
117 # anywhere in an entry; they can be used to make it resemble English.  The
118 # punctuation characters `,' `:' `;' are also ignored. 
119 #
120 # The run control file format is fully described (with more examples) on the
121 # fetchmail manual page.
122
123 # This is what the developer's .fetchmailrc looks like:
124
125 set daemon 300  # Poll at 5-minute intervals
126
127 defaults
128         interface "sl0/10.0.2.15"       # SLIRP standard address
129         user esr is esr fetchmail-friends magic-numbers here
130         fetchall
131
132 # Use this for production
133 poll imap.ccil.org protocol IMAP:
134         no dns, aka snark.thyrsus.com thyrsus.com locke.ccil.org ccil.org 
135         password my_remote_password;
136
137 # Use this to test POP3
138 skip pop3.ccil.org with protocol APOP:
139         no dns, aka snark.thyrsus.com thyrsus.com locke.ccil.org ccil.org 
140         password my_apop_secret;
141
142 # Use this to test against a different server
143 skip pop3.netaxs.com:
144         password my_netaxs.password;