1 <!doctype html public
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
8 <title>Postfix and Ultrix
</title>
10 <meta http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
16 <h1><img src=
"postfix-logo.jpg" width=
"203" height=
"98" ALT=
"">Postfix and Ultrix
</h1>
20 <h2> Postfix on Ultrix
</h2>
22 <p> This document is probably only of historical value, because
23 Ultrix version
4 dates from the early
1990s. However, as long as
24 Wietse keeps Postfix alive for SunOS
4, it is likely to run on
25 Ultrix
4 with very little change. Feedback is welcome if anyone
26 actually still uses Postfix on any version of Ultrix.
</p>
28 <p> The source of this document is an email message by Christian von Roques
29 that was sent on Jun
2,
1999.
</p>
33 <p> I've upgraded the MTA of our DECstation-
3100 running Ultrix4.3a to
34 postfix-
19990317-pl05 and am sending you the patches I needed to get
35 it running under Ultrix.
</p>
39 <p> One of the bugs of Ultrix's /bin/sh is that shell-variables
40 set in arguments of `:' expand to garbage if expanded in here-documents.
41 Using a different shell helps. I needed to replace all calls of
42 ``sh .../makedefs'' by ``$(SHELL) .../makedefs'' in all the
43 Makefile.in and am now able to use ``make SHELL=/bin/sh5'' or zsh.
47 <p> Ultrix's FD_SET_SIZE is
4096, but getdtablesize()
48 returns
64 by default, if not increased when building a new
49 kernel. getrlimit() doesn't know RLIMIT_NOFILE. This makes
50 event_init() always log the warning: `could allocate space for
51 only
64 open files'.
</p>
53 <p> I just reduced the threshold from
256 to
64, but this is not good.
54 The initial problem still remains: How to disable this warning on
55 Ultrix without making the source ugly?
</p>
59 <p> To work around the first problem, all the Makefile.in files
60 have been updated to use `$(SHELL)' instead of `sh'. So you only
61 need to supply a non-default shell in order to eliminate Ultrix
64 <p> To work around the latter, util/sys_defs.h was updated for
65 Ultrix, with a default FD_SETSIZE of
100. This should be sufficient
66 for a workstation. Even in
1999, no-one would run a major mail hub