annotate INSTALL @ 203:45acc5727493

removed --with-glib-static configure option linking glib statically is interesting if no other program uses it on today's systems glib is widely used if one cares on linking statically, he can link everything statically the special case for glib will not get special care anymore
author meillo@marmaro.de
date Fri, 16 Jul 2010 14:48:17 +0200
parents 5beb5d6d9623
children 5745edd5b769
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
1 Additional information may be available in docs/ or on the website.
174
dbe3dadd1afe Documentation improvements in the INSTALL file and some man pages
meillo@marmaro.de
parents: 92
diff changeset
2 For installing on GNU/Linux distributions read docs/INSTALL.linux.
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
3
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
4
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
5 Installation instructions
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
6 -------------------------
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
7
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
8 To compile masqmail you need glib (>= 1.2) (http://www.gtk.org). Your
181
8b17ea9fd17b added comments on how to compile with glib-1.2
meillo@marmaro.de
parents: 175
diff changeset
9 distribution probably provides it. Glib-2.0 works out of the box, for
8b17ea9fd17b added comments on how to compile with glib-1.2
meillo@marmaro.de
parents: 175
diff changeset
10 glib-1.2, you need to adjust configure.ac. See the comment in there.
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
11
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
12 You need a user and a group for masqmail to run. If
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
13
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
14 grep '^mail:' /etc/passwd
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
15 grep '^trusted:' /etc/group
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
16
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
17 shows that the user `mail' and the group `trusted' exist, it's
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
18 probably best to use these. If they don't exist, create them:
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
19
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
20 groupadd -g 42 trusted
194
346955794084 specified group by name; added path to --with-glib-static
meillo@marmaro.de
parents: 192
diff changeset
21 useradd -u 23 -g trusted -d /nonexistent -s /bin/false -c "masqmail MTA" mail
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
22
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
23 If you use other names than `mail' and `trusted' use the options
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
24 described below for configure. The 23 and 42 are just a suggestion,
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
25 you can use any (not yet used) number you like, but preferably one
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
26 lower than 100. It does not have to be the same for the user `mail'
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
27 and the group `trusted'.
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
28
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
29
174
dbe3dadd1afe Documentation improvements in the INSTALL file and some man pages
meillo@marmaro.de
parents: 92
diff changeset
30 Compiling is a matter of the usual procedure. In the source directory,
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
31 after unpacking do:
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
32
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
33 ./configure
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
34 make
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
35 make install
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
36
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
37
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
38
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
39 Additional options for configure
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
40 --------------------------------
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
41
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
42 See the output of
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
43
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
44 ./configure -h
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
45
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
46 Here is a selection of the options with additional explanations:
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
47
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
48 --with-user=USER
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
49 sets the user as which masqmail will run. Default is 'mail'. USER has
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
50 to exist before you 'make install'.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
51
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
52 --with-group=GROUP
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
53 sets the group as which masqmail will run. Default is 'trusted'. GROUP
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
54 has to exist before you 'make install'.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
55
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
56
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
57 --with-logdir=LOGDIR
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
58 sets the directory where masqmail stores its log files. It will be
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
59 created if it does not exist. Default is /var/log/masqmail/.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
60
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
61 --with-spooldir=SPOOLDIR
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
62 sets the directory where masqmail stores its spool files. It will be
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
63 created if it does not exist. Default is /var/spool/masqmail/.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
64
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
65 --with-confdir=CONFDIR
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
66 sets the default configuration directory to CONFDIR, in case you
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
67 prefer another location than /etc/masqmail/.
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
68
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
69
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
70 --enable-auth
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
71 enables ESMTP AUTH support (disabled by default)
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
72
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
73 --enable-maildir
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
74 enables qmail style Maildir support (disabled by default)
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
75
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
76 --enable-ident
175
meillo@marmaro.de
parents: 165 174
diff changeset
77 enables RFC 1413 support. If you have the libident dynamic library
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
78 installed, this will be linked, otherwise it will be statically linked
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
79 using the sources included in the package.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
80
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
81 --disable-resolver
175
meillo@marmaro.de
parents: 165 174
diff changeset
82 disables resolver support. Without the resolver functions, masqmail
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
83 uses only gethostbyname() to resolve DNS names, and you cannot send
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
84 mail without a smart host. Not recommended.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
85
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
86 --disable-smtp-server
175
meillo@marmaro.de
parents: 165 174
diff changeset
87 disables SMTP server support. You may want this if you do not need
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
88 masqmail to listen. In this case, you cannot use masqmail as a smart
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
89 host for other hosts on your LAN, you cannot use mail clients that
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
90 send SMTP, you cannot even use pine. In short, use of this option is
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
91 discouraged unless your resources are extremely limited.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
92
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
93
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
94 --with-libcryto
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
95 instead of using the md5 and hmac functions within the package, link
192
89f951be358f REMOVED POP3 SUPPORT
meillo@marmaro.de
parents: 185
diff changeset
96 dynamically with libcrypto. This applies only if you have SMTP AUTH
89f951be358f REMOVED POP3 SUPPORT
meillo@marmaro.de
parents: 185
diff changeset
97 enabled. Only makes sense if your resources are limited and you have
89f951be358f REMOVED POP3 SUPPORT
meillo@marmaro.de
parents: 185
diff changeset
98 libcrypto installed. Untested.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
99
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
100
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
101 --disable-debug
175
meillo@marmaro.de
parents: 165 174
diff changeset
102 disables debugging; setting it on the command line or in the
meillo@marmaro.de
parents: 165 174
diff changeset
103 configuration has no effect. Strongly discouraged, since you miss
meillo@marmaro.de
parents: 165 174
diff changeset
104 valuable information if something goes wrong.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
105
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
106
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
107
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
108 Checking the installation
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
109 -------------------------
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
110
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
111 Check that 'make install' worked correctly. The following command:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
112
195
5beb5d6d9623 There was still a /usr/sbin/masqmail path
meillo@marmaro.de
parents: 194
diff changeset
113 ls -ld /usr/local/sbin/masqmail /etc/masqmail /var/log/masqmail/ \
174
dbe3dadd1afe Documentation improvements in the INSTALL file and some man pages
meillo@marmaro.de
parents: 92
diff changeset
114 /var/run/masqmail /var/spool/masqmail/ /var/spool/masqmail/*
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
115
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
116 should give output similar to
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
117
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
118 -rwsr-xr-x 1 root root 399356 May 10 12:34 /usr/local/sbin/masqmail
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
119 drwxr-xr-x 2 root root 4096 May 10 12:34 /etc/masqmail
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
120 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/log/masqmail
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
121 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/run/masqmail
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
122 drwxr-xr-x 5 mail trusted 4096 May 10 12:34 /var/spool/masqmail
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
123 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/spool/masqmail/input
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
124 drwxr-xr-x 2 mail trusted 4096 May 10 12:34 /var/spool/masqmail/lock
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
125
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
126 Important are the set-user-id bit for /usr/local/sbin/masqmail and
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
127 the permissions of all files.
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
128
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
129
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
130
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
131 Making masqmail the default
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
132 ---------------------------
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
133
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
134 `sendmail' is the de-facto standard name of the system's MTA, no
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
135 matter which MTA actually runs. If you want to make masqmail the
185
b6fc62ea6058 improved INSTALL (2nd sendmail link)
meillo@marmaro.de
parents: 181
diff changeset
136 system's MTA (i.e. replace sendmail, postfix, etc), make two symbolic
b6fc62ea6058 improved INSTALL (2nd sendmail link)
meillo@marmaro.de
parents: 181
diff changeset
137 links:
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
138
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
139 ln -s /usr/local/sbin/masqmail /usr/lib/sendmail
185
b6fc62ea6058 improved INSTALL (2nd sendmail link)
meillo@marmaro.de
parents: 181
diff changeset
140 ln -s /usr/local/sbin/masqmail /usr/sbin/sendmail
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
141
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
142 Now every mailer that used to call sendmail will now call masqmail.
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
143 If you already had an MTA installed and running, you can kill it and
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
144 start masqmail. Probably with:
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
145
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
146 /etc/init.d/sendmail restart
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
147
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
148 If this doesn't work as expected, you might need to add a special init
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
149 script for masqmail. Currently none is distributed with masqmail.
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
150 (Hopefully this will change soon.) Please ask on the mailing list for
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
151 help.
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
152
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
153 You can also directly start masqmail as daemon with:
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
154
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
155 /usr/local/sbin/masqmail -bd -q30m
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
156
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
157
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
158
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
159 Basic Configuration
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
160 -------------------
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
161
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
162 The only thing you must configure in order to use masqmail is the
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
163 hostname. It's the name under which masqmail operates. In most cases
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
164 it is the same as the machine's name, but it can be different.
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
165
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
166 The script `contrib/guess-hostname' tries to print the hostname of
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
167 your machine. The first output line is probably the best choice.
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
168
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
169 Create a minimal config with:
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
170
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
171 echo "host_name = HOSTNAME" >/etc/masqmail/masqmail.conf
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
172
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
173 (Substitute `HOSTNAME' with the real value, of course.)
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
174
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
175 Such a setup (i.e. the default one) does:
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
176 - deliver mail locally
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
177 - accept mail from local (via stdin)
185
b6fc62ea6058 improved INSTALL (2nd sendmail link)
meillo@marmaro.de
parents: 181
diff changeset
178 - accept mail on localhost:25 (via SMTP) (if started as daemon)
b6fc62ea6058 improved INSTALL (2nd sendmail link)
meillo@marmaro.de
parents: 181
diff changeset
179
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
180 It does not
185
b6fc62ea6058 improved INSTALL (2nd sendmail link)
meillo@marmaro.de
parents: 181
diff changeset
181 - transfer mail to other machines
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
182 - accept mail from outside your machine
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
183
92
10d00e3235f2 updated docs (online_file, mserver_iface)
meillo@marmaro.de
parents: 59
diff changeset
184
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
185 For more elaborate setups, have a look at docs/*setup and
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
186 docs/INSTALL*. You can also take the example configuration files in
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
187 examples/ as basis for your own. Take the man pages masqmail.conf(5)
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
188 and masqmail.route(5) for reference.
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
189
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
190 All configuration files should go into /etc/masqmail.
59
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
191
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
192
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
193
941413084f56 updated docs; moved files around
meillo@marmaro.de
parents: 0
diff changeset
194 Written by oku.
165
f72de1e00fa5 updated and improved INSTALL
meillo@marmaro.de
parents: 164
diff changeset
195 Improved by meillo.