Mercurial > masqmail
comparison INSTALL @ 175:25b769efafe6
merge
author | meillo@marmaro.de |
---|---|
date | Wed, 14 Jul 2010 12:15:45 +0200 |
parents | f72de1e00fa5 dbe3dadd1afe |
children | 8b17ea9fd17b |
comparison
equal
deleted
inserted
replaced
172:cd38f10532e7 | 175:25b769efafe6 |
---|---|
1 Additional information may be available in docs/ or on the website. | 1 Additional information may be available in docs/ or on the website. |
2 For installing on GNU/Linux distributions read docs/linux-distris. | 2 For installing on GNU/Linux distributions read docs/INSTALL.linux. |
3 | 3 |
4 | 4 |
5 Installation instructions | 5 Installation instructions |
6 ------------------------- | 6 ------------------------- |
7 | 7 |
24 you can use any (not yet used) number you like, but preferably one | 24 you can use any (not yet used) number you like, but preferably one |
25 lower than 100. It does not have to be the same for the user `mail' | 25 lower than 100. It does not have to be the same for the user `mail' |
26 and the group `trusted'. | 26 and the group `trusted'. |
27 | 27 |
28 | 28 |
29 Compliling is a matter of the usual procedure. In the source directory, | 29 Compiling is a matter of the usual procedure. In the source directory, |
30 after unpacking do: | 30 after unpacking do: |
31 | 31 |
32 ./configure | 32 ./configure |
33 make | 33 make |
34 make install | 34 make install |
71 | 71 |
72 --enable-maildir | 72 --enable-maildir |
73 enables qmail style Maildir support (disabled by default) | 73 enables qmail style Maildir support (disabled by default) |
74 | 74 |
75 --enable-ident | 75 --enable-ident |
76 enable RFC 1413 support. If you have the libident dynamic library | 76 enables RFC 1413 support. If you have the libident dynamic library |
77 installed, this will be linked, otherwise it will be statically linked | 77 installed, this will be linked, otherwise it will be statically linked |
78 using the sources included in the package. | 78 using the sources included in the package. |
79 | 79 |
80 --enable-pop3 | 80 --enable-pop3 |
81 enables pop3 support (disabled by default) | 81 enables POP3 support (disabled by default) |
82 | 82 |
83 --disable-resolver | 83 --disable-resolver |
84 disable resolver support. Without the resolver functions, masqmail | 84 disables resolver support. Without the resolver functions, masqmail |
85 uses only gethostbyname() to resolve DNS names, and you cannot send | 85 uses only gethostbyname() to resolve DNS names, and you cannot send |
86 mail without a smart host. Not recommended. | 86 mail without a smart host. Not recommended. |
87 | 87 |
88 --disable-smtp-server | 88 --disable-smtp-server |
89 disable SMTP server support. You may want this if you do not need | 89 disables SMTP server support. You may want this if you do not need |
90 masqmail to listen. In this case, you cannot use masqmail as a smart | 90 masqmail to listen. In this case, you cannot use masqmail as a smart |
91 host for other hosts on your LAN, you cannot use mail clients that | 91 host for other hosts on your LAN, you cannot use mail clients that |
92 send SMTP, you cannot even use pine. In short, use of this option is | 92 send SMTP, you cannot even use pine. In short, use of this option is |
93 discouraged unless your resources are extremely limited. | 93 discouraged unless your resources are extremely limited. |
94 | 94 |
95 | 95 |
96 --with-libcryto | 96 --with-libcryto |
97 instead of using the md5 and hmac functions within the package, link | 97 instead of using the md5 and hmac functions within the package, link |
98 dynamically with libcrypto. This applies only if you have pop3 or SMTP | 98 dynamically with libcrypto. This applies only if you have POP3 or SMTP |
99 AUTH enabled. Makes only sense if your resources are limited and you | 99 AUTH enabled. Only makes sense if your resources are limited and you |
100 have libcrypto installed. Untested. | 100 have libcrypto installed. Untested. |
101 | 101 |
102 --with-glib-static | 102 --with-glib-static |
103 link with glib statically. This makes the binary larger by around 30K | 103 links with glib statically. This makes the binary larger by around 30K |
104 (i386 architecture), but if masqmail is the only binary using glib, | 104 (i386 architecture), but if masqmail is the only binary using glib, |
105 you save some space in total, because you do not need the shared glib | 105 you save some space in total, because you do not need the shared glib |
106 library installed. | 106 library installed. |
107 | 107 |
108 | 108 |
109 --disable-debug | 109 --disable-debug |
110 disable debugging, setting it on by command line or configuration has | 110 disables debugging; setting it on the command line or in the |
111 no effect. Strongly discouraged, since you miss valuable information | 111 configuration has no effect. Strongly discouraged, since you miss |
112 if something goes wrong. | 112 valuable information if something goes wrong. |
113 | 113 |
114 | 114 |
115 | 115 |
116 Checking the installation | 116 Checking the installation |
117 ------------------------- | 117 ------------------------- |
118 | 118 |
119 Check that 'make install' worked correctly. The following command: | 119 Check that 'make install' worked correctly. The following command: |
120 | 120 |
121 ls -ld /usr/local/sbin/masqmail /etc/masqmail /var/log/masqmail/ \ | 121 ls -ld /usr/sbin/masqmail /etc/masqmail /var/log/masqmail/ \ |
122 /var/run/masqmail /var/spool/masqmail/ /var/spool/masqmail/* | 122 /var/run/masqmail /var/spool/masqmail/ /var/spool/masqmail/* |
123 | 123 |
124 should give output similar to | 124 should give output similar to |
125 | 125 |
126 -rwsr-xr-x 1 root root 399356 May 10 12:34 /usr/local/sbin/masqmail | 126 -rwsr-xr-x 1 root root 399356 May 10 12:34 /usr/local/sbin/masqmail |
127 drwxr-xr-x 2 root root 4096 May 10 12:34 /etc/masqmail | 127 drwxr-xr-x 2 root root 4096 May 10 12:34 /etc/masqmail |