]> Pileus Git - ~andy/fetchmail/blob - INSTALL
609e8ecf177fa57afadf59759c030af03bb33279
[~andy/fetchmail] / INSTALL
1                 INSTALL Instructions for fetchmail
2
3 Installing fetchmail is easy.  From within this directory, type:
4
5         ./configure
6
7 The autoconfiguration script will spend a bit of time figuring out the
8 specifics of your system.  If you want to specify a particular compiler
9 (e.g. you have gcc but want to compile with cc), set the environment 
10 variable CC before you run configure.  
11
12 If you're running QNX, edit the distributed Makefile directly.  The
13 QNX values for various macros are there but commented out; all you
14 have to do is uncomment them.
15
16 Next run
17
18         make
19
20 This will compile fetchmail for your system.  Note that in order to
21 build it, you'll need either flex at version 2.5.3 org greater, or lex.
22
23 Lastly, become root and run
24
25         make install
26
27 This will install fetchmail.  By default, fetchmail will be installed
28 in /usr/local/bin, with the man page in /usr/local/man/man1.  If you
29 wish to change these defaults, edit the Makefile AFTER you run
30 "configure" but BEFORE you run "make install."  You can easily choose
31 a prefix other than /usr/local, or you can choose completely different
32 directories for each item.
33
34 Note: if you intended to use RPOP (which we don't recommend, you
35 should set up APOP), you'll have to make fetchmail suid root.  This
36 is so it can call rresvport and bind to a privileged port, so the
37 server's TCP/IP will see that and know it's OK to let it bind to
38 a privileged port at the other end.
39
40 See the man page or the file sample.rcfile for a description of how to
41 configure your individual preferences.
42
43 Note: if you have been using popclient (the ancestor of this program)
44 at version 3.0b6 or later, do this
45
46 (cd ~; mv ~/.poprc ~/.fetchmailrc)
47
48 in order to migrate.
49
50 Enjoy!