annotate docs/uucp-setup @ 221:8742d2cee364

added a note to the long vs. int question in md5.h Solar Designer explained to me in privat conversation that the int had performed much better on some systems and that 16bit ints are very rare. Still I like using the long.
author meillo@marmaro.de
date Fri, 23 Jul 2010 10:53:04 +0200 (2010-07-23)
parents d3e39ba684a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
1 This document includes UUCP related information
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
2
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
3 Note: My knowledge of UUCP setups is very poor. I hope that the
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
4 provided information is correct. Improvements to this document
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
5 are very welcome. --meillo
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
6
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
7 UUCP setups call the MTA as `rmail'. Until version 0.2.23 masqmail
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
8 could be called with this name. It switched to read-message-from-stdin
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
9 mode then. AFAIK this is not enough to support UUCP, at least not at
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
10 the level that is presumed by UUCP software. It seems as if at least
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
11 the first input line should be handled special as it includes the
90
d3e39ba684a3 added some words about exim to docs/uucp-setup
meillo@marmaro.de
parents: 88
diff changeset
12 envelope recipient. (Correct me if I'm wrong.) I discovered that exim
d3e39ba684a3 added some words about exim to docs/uucp-setup
meillo@marmaro.de
parents: 88
diff changeset
13 has rmail support like this. That's probably the reason why it was
d3e39ba684a3 added some words about exim to docs/uucp-setup
meillo@marmaro.de
parents: 88
diff changeset
14 the same in masqmail.
88
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
15
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
16 A better, through still basic approach, was introduced with 0.2.24:
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
17 misc/rmail is a small shell script (taken from postfix), which calls
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
18 masqmail with appropriate options. Copy the script into your path and
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
19 ensure that the included sendmail variable points to the masqmail
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
20 executable.
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
21
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
22 A more sophisticated rmail implementation seems to be available from
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
23 sendmail. I don't know details about it and whether it is needed. The
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
24 difference of sendmail's rmail implementation could be related to
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
25 address rewriting (user@example.org <-> org!example!user). But I
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
26 don't know details -- if you do, please let me know.
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
27
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
28
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
29 UUCP makes use of the -f (set return path address, i.e. from whom the
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
30 mail is) option of masqmail which is only permitted for user root,
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
31 the trusted user (usually `mail'), and the trusted group (often group
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
32 `mail'). UUCP, however, usually runs as user and group `uucp'.
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
33
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
34 Masqmail currently supports only one trusted group and it is planned
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
35 to remain so for simplicity reasons. (If you have good arguments on
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
36 the case, try to convince me of the opposite.) Therefore the solution
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
37 for masqmail is to add the user `uucp' to the trusted group (often
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
38 group `mail'):
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
39
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
40 usermod -G mail -a uucp
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
41
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
42 This is not the perfect solution but an acceptable trade-off.
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
43
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
44
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
45 If one really needs to enable user `uucp' to set -f but can not add
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
46 it to the trusted group, see the comment in is_privileged_user() in
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
47 permissions.c. It shows a hack which allows to trust another group,
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
48 for instance the group `uucp'.
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
49
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
50
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
51 See [1] for reasons why -f is important and needed.
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
52
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
53 [1] http://bugs.hylafax.org/show_bug.cgi?id=842
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
54
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
55
39014fc31dbe added a document that describes UUCP relevant stuff
meillo@marmaro.de
parents:
diff changeset
56 meillo