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