xref: /original-bsd/usr.sbin/sendmail/KNOWNBUGS (revision edc2ab72)
1
2
3	     K N O W N   B U G S   I N   S E N D M A I L
4			     (for 8.6.5)
5
6
7The following are bugs or deficiencies in sendmail that I am aware of
8but which have not been fixed in the current release.  You probably
9want to get the most up to date version of this from FTP.CS.Berkeley.EDU
10in /ucb/sendmail/KNOWNBUGS.
11
12* "SYSERR: openmailer(local): fd 1 not open" message
13
14  File descriptor 1 (standard output) should not be closed during normal
15  processing.  This is checked periodically, and sometimes this condition
16  is found and this message is produced.  Sendmail repairs the problem,
17  and the mail is still delivered, but I still don't know why it happens.
18  (There was a bug that was fixed in 8.6.beta.13 that might be related,
19  but I think this bug still exists.)
20
21* Null bytes are not handled properly.
22
23  Sendmail should handle full binary data.  As it stands, it handles
24  any value from 0x01-0xFF in the body and 0x01-0x80 and 0xA0-0xFF in
25  the header.  Notably missing is 0x00, which would require a major
26  restructuring of the code -- for example, almost no C library support
27  could be used to handle strings.
28
29* Route-addrs missing angle brackets.
30
31  There are cases where route-addrs do not get angle brackets around them,
32  such as in the "-r" flag on mailers or in the From_ line created when
33  mailing to files.
34
35* Duplicate error messages.
36
37  Sometimes identical, duplicate error messages can be generated.  As
38  near as I can tell, this is rare and relatively innocuous.
39
40* No "exposed users" in "nullrelay" configuration.
41
42  The "nullrelay" configuration hides all addresses behind the mail
43  hub name.  Some sites might prefer to expose some names such as
44  root.  This information is always available in Received: lines.
45
46* $c (hop count) macro improperly set.
47
48  The $c macro is supposed to contain the current hop count, for use
49  when calling a mailer.  This macro is initialized too early, and
50  is always zero (or the value of the -c command line flag, if any).
51  This macro will probably be removed entirely in a future release;
52  I don't believe there are any mailers left that require it.
53
54* If you EXPN a list or user that has a program mailer, the output of
55  EXPN will include ``@local.host.name''.  You can't actually mail to
56  this address.  It's not clear what the right behaviour is in this
57  circumstance.
58
59* REDIRECT aliases don't work with `n' option.
60
61  If you have option `n' set when you use newaliases and have
62  REDIRECT addresses in your aliases file, you'll get the error
63  messages during the newaliases instead of when email is sent to
64  the address in question.  The workaround is to turn off the `n'
65  option.
66
67* owner-* alias that uses :include: broken.
68
69  If you have aliases set up as:
70
71	owner-listname:		:include:/some/file
72
73  sendmail will break because it considers this a "sender address",
74  which is not permitted to use the :include: syntax.  The easiest
75  workaround is to change this to:
76
77	owner-listname:		:include:/some/file,
78
79  (note the trailing comma); a somewhat cleaner solution is to use:
80
81	owner-listname:		listname-request
82	listname-request:	:include:/some/file
83
84* MX records that point at non-existent hosts work strangly.
85
86  Consider the DNS records:
87
88	hostH	MX	1 hostA
89		MX	2 hostB
90	hostA	A	128.32.8.9
91
92  (note that there is no A record for hostB).  If hostA is down,
93  an attempt to send to hostH gives "host unknown" -- that is, it
94  reflects out the status on the last host it tries, which in this
95  case is hostB, which is unknown.  It probably ought to eliminate
96  hostB early in processing.
97
98* NAME environment variables with commas break.
99
100  If you define your NAME environment variable to have a comma
101  (e.g., ``Lastname, Firstname''), and you are using the $q definition
102  that uses ``name <address>'' format, sendmail treats the first and
103  last names as two addresses, thus producing a bogus From line.  You
104  can work around this by changing the $q definition to use
105  ``address (name)''.
106
107(Version 8.10, last updated 12/11/93)
108