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
# The run control file format is fully described (with more examples) on the
22
# fetchmail manual page.
23
#
24
# This is what the former developer's .fetchmailrc looks like:
25
26
set daemon 300	# Sleep 300 seconds after the poll, then poll again.
27
28
defaults
29
	# only poll when the sl0 interface is up (only available on some systems)
30
	interface "sl0/10.0.2.15"	# SLIRP standard address
31
	# log in with name "esr" and do multidrop fetch for the users
32
	# esr, fetchmail-friends, and magic-numbers
33
	user esr is esr fetchmail-friends magic-numbers here
34
	# fetch (and delete after retrieval) all messages
35
	fetchall
36
37
# Use this for production
38
poll imap.example.org protocol IMAP:
39
	# do not use MX lookups to check of server aliases, but pass
40
	# them explicitly:
41
	no dns, aka snark.thyrsus.com thyrsus.com locke.example.org example.org 
42
	password my_remote_password;
43
44
# Use this to test POP3
45
skip pop3.example.org with protocol APOP:
46
	# do not use MX lookups to check of server aliases, but pass
47
	# them explicitly:
48
	no dns, aka snark.thyrsus.com thyrsus.com locke.example.org example.org 
49
	password my_apop_secret;
50
51
# Use this to test against a different server - it is skipped unless
52
# you give its name on fetchmail's command line.
53
skip pop3.netaxs.com:
54
	password my_netaxs.password;