File: ULTRIX_README.html

package info (click to toggle)
postfix 2.3.8-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 15,744 kB
  • ctags: 11,426
  • sloc: ansic: 81,810; makefile: 10,743; sh: 7,874; perl: 2,468; awk: 41
file content (71 lines) | stat: -rw-r--r-- 2,268 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>Postfix and Ultrix </title>

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

</head>

<body>

<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix and Ultrix </h1>

<hr>

<h2> Postfix on Ultrix </h2>

<p> This document is probably only of historical value, because
Ultrix version 4 dates from the early 1990s. However, as long as
Wietse keeps Postfix alive for SunOS 4, it is likely to run on
Ultrix 4 with very little change. Feedback is welcome if anyone
actually still uses Postfix on any version of Ultrix. </p>

<p> The source of this document is an email message by Christian von Roques
that was sent on Jun 2, 1999. </p>

<blockquote> 

<p> I've upgraded the MTA of our DECstation-3100 running Ultrix4.3a to
postfix-19990317-pl05 and am sending you the patches I needed to get
it running under Ultrix. </p>

<p> . . . </p>

<p> One of the bugs of Ultrix's /bin/sh is that shell-variables
set in arguments of `:' expand to garbage if expanded in here-documents.
Using a different shell helps.  I needed to replace all calls of
``sh .../makedefs'' by ``$(SHELL) .../makedefs'' in all the
Makefile.in and am now able to use ``make SHELL=/bin/sh5'' or zsh.

<p> . . . </p>

<p> Ultrix's FD_SET_SIZE is 4096, but getdtablesize()
returns 64 by default, if not increased when building a new
kernel.  getrlimit() doesn't know RLIMIT_NOFILE.  This makes
event_init() always log the warning: `could allocate space for
only 64 open files'. </p>

<p> I just reduced the threshold from 256 to 64, but this is not good.
The initial problem still remains: How to disable this warning on
Ultrix without making the source ugly?   </p>

</blockquote>

<p> To work around the first problem, all the Makefile.in files
have been updated to use `$(SHELL)' instead of `sh'. So you only
need to supply a non-default shell in order to eliminate Ultrix
shell trouble.  </p>

<p> To work around the latter, util/sys_defs.h was updated for
Ultrix, with a default FD_SETSIZE of 100.  This should be sufficient
for a workstation. Even in 1999, no-one would run a major mail hub
on Ultrix 4. </p>

</body>

</html>