]> Sergey Matveev's repositories - public-inbox.git/blob - INSTALL
mda: hook up new filter functionality
[public-inbox.git] / INSTALL
1 public-inbox (server-side) installation
2 ---------------------------------------
3
4 This is for folks who want to setup their own public-inbox instance.
5 Clients should see https://ssoma.public-inbox.org/INSTALL.html instead
6 if they want to import mail into their personal inboxes.
7
8 TODO: this still needs to be documented better,
9 also see the scripts/ and sa_config/ directories in the source tree
10
11 It should also be possible to use public-inbox with only IMAP
12 (or even POP(!)) access to a mailbox.
13
14 standard MakeMaker installation (Perl)
15 --------------------------------------
16
17         perl Makefile.PL
18         make
19         make test
20         make install # root permissions may be needed
21
22 Requirements (server MDA)
23 -------------------------
24
25 * git
26 * SpamAssassin (spamc/spamd)
27 * MTA - postfix is recommended
28 * Perl and several modules:    (Debian package name)
29   - Date::Parse                libtimedate-perl
30   - Email::MIME                libemail-mime-perl
31   - Email::MIME::ContentType   libemail-mime-contenttype-perl
32   - Encode::MIME::Header       perl
33   - IPC::Run                   libipc-run-perl
34
35 Optional modules:
36
37   - Plack[1]                   libplack-perl
38   - Mail::Thread (2.5+)[1]     libmail-thread-perl
39   - URI::Escape[1]             liburi-perl
40   - Search::Xapian[3]          libsearch-xapian-perl
41   - IO::Compress::Gzip[3]      libio-compress-perl
42   - DBI[3]                     libdbi-perl
43   - DBD::SQLite[3]             libdbd-sqlite3-perl
44   - Danga::Socket[4]           libdanga-socket-perl
45   - Net::Server[4]             libnet-server-perl
46
47 [1] - Only required for serving/generating Atom and HTML pages.
48 [3] - Optional for HTML web interface and HTTP/NNTP servers
49 [4] - Optional for HTTP and NNTP servers
50
51 When installing Search::Xapian, make sure the underlying Xapian
52 is patched against the index corruption bug documented in:
53
54         https://bugs.debian.org/808610
55
56 For Debian 8.0, this means installing from jessie-backports
57 until the fix lands in jessie.
58
59 # Ensure the following line is in your apt sources.list(5)
60 # (typically /etc/apt/sources.list):
61
62 deb http://http.us.debian.org/debian jessie-backports main
63
64 Then run:
65
66         apt-get update
67         apt-get install -t jessie-backports libxapian22
68
69 to install the package.
70
71 public-inbox will never store unregeneratable data in Xapian
72 or any other search database we might use; Xapian corruption
73 will not destroy critical data.
74
75 Copyright
76 ---------
77
78 Copyright 2013-2016 all contributors <meta@public-inbox.org>
79 License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>