xref: /csrg-svn/usr.sbin/sendmail/src/TODO (revision 65958)
1*65958Seric(Version 8.19 of 02/01/94)
233732Sbostic
364705SericKey:
464705Seric  X -- extension (user visible change)
564705Seric  B -- bug fix
664705Seric  S -- security fix
764705Seric  E -- enhancement to existing algorithm
857668Seric
9*65958SericB ****	CNAME loops cause message to be both queued and bounced.
10*65958Seric	"Right" fix is to change dropenvelope et al to do one or
11*65958Seric	the other, but could this cause other problems?
12*65958Seric	Eric Hagberg <hagberg@med.cornell.edu>
13*65958Seric
1464705SericX ****	8 -> 7 bit MIME conversion.
1557943Seric
1664705SericE ****	Change NoReturn to be an envelope flag. [8.7]
1758964Seric
1864705SericX ****	Add M_NOLOOPBACKCHK (k) mailer flag to turn off check of name in
1964705Seric	HELO command. [8.8]
2060606Seric
2164705SericX ****	Merge Sun changes.  [8.7]
2259609Seric
2365119SericX ****	Macro giving size of the message in bytes.
2465119Seric
2565188SericX ****	Create a "service switch" abstraction that will interface with
2665188Seric	Sun NSS, Ultrix /etc/svc.conf, etc.  This will allow you to
2765188Seric	turn off DNS entirely, a la ``OIoff''.  [8.7]
2864652Seric
2964718SericX ****	Should have new mailer flags to override LocalMailer stuff:
3064652Seric	- M_ALIASABLE (A) -- can use as the LHS of an alias.
3164652Seric	- M_HASPWENT (w) -- should have a /etc/passwd entry.  If not found
3264652Seric	  there, implies user unknown.  Also implies .forward and UDB
3364652Seric	  searching, search for |, /, and :include:, etc.).
3464652Seric	- Actually, UDB searching and |, /, and :include: mapping should
3564652Seric	  probably be on another flag.  (Cannot be 'l' for back compat
3664652Seric	  reasons.)
3764652Seric	- Need for $@host part of triple and Return-Receipt-To: processing
3864652Seric	  should also be split apart.
3964705Seric	[8.8]
4064652Seric
4165119SericX ****	Mailer flag to override MX lookups.
4265119Seric
4364755SericE ****	Fix parseaddr to return a dummy mailer with QBADADDR set for
4464755Seric	all cases except null input; change calls to be more sceptical
4564755Seric	about the return value, checking this bit instead of just
4664755Seric	checking for == NULL.  (Eric Wassenaar)  [8.7]
4764755Seric
4864799SericX ****	Run time configurable locking -- e.g., compile in HASFLOCK and
4964799Seric	HASLOCKF, and then choose at runtime between these.
5064799Seric
5165353SericB ****	Aliases with .REDIRECT fail during newaliases if the "n" flag
5265353Seric	is given.  Problem is, sometimes you want them to, sometimes
5365353Seric	you don't.  Perhaps two flavors of "error" mailer?
5465353Seric
5565353SericB ****	Calls to gethostbyname with a trailing dot fail if you are
5665353Seric	not running DNS.
5765353Seric
5865119SericE ****	Move delivery forking from sendenvelope to sendall so that
5965119Seric	the connection cache works between split envelopes, and to
6065119Seric	avoid a flurry of processes should you be sending to lots of
6165119Seric	sub-lists.
6265119Seric
6365119SericX ****	Add uucp-bang mailer that strips off any domain name from
6465119Seric	the envelope recipient address first; this is for use in
6565119Seric	mailer table entries.
6665119Seric
6765188SericX ****	"quote" map (inverse of dequote).  Lets you turn node::user
6865188Seric	into "node::user"@DECNET.gateway
6965188Seric
7065219SericX ****	Named rulesets.
7165219Seric
7265869SericX ***	Extend I option to allow setting of retry and timeout values.
7365869Seric	drl@vuse.vanderbilt.edu (David R. Linn).
7465869Seric
7565753SericX ***	Total connection cache lifespan timeout -- a way to give a
7665753Seric	timeout on connections regardless of whether they are active
7765753Seric	or not.  For single threaded servers such as Microsoft SMTP
7865753Seric	gateway.  Douglas Anderson <dlander@afterlife.ncsc.mil>.
7965753Seric
8065188SericX ***	Mailer flag that does a "ping" equivalent -- if it fails, wait
8165188Seric	30 seconds and try again (for dialup PPP connections).  Could
8265188Seric	just try the connection and then immediately retry on some
8365188Seric	kinds of failures.
8465188Seric
8565119SericX ***	Create a macro that has message size.
8665119Seric	Peter Wemm <peter@DIALix.oz.au>
8765119Seric
8864718SericE ***	Dynamically allocate MAXNAME buffers for headers.
8964718Seric
9065119SericE ***	Dynamically allocate "line" buffer in readaliases().
9165119Seric
9264705SericX ***	Add ability to disable Return-Receipt-To: on a privacy flag. [8.8]
9364652Seric
9464718SericX ***	Add -P to set precedence (e.g., -Pbulk). [8.8]  (BCX)
9564652Seric
9664718SericX ***	Runtime option to enable/disable IDENT protocol.
9764718Seric
9864718SericE ***	Don't send ErrMsgFile to postmaster bounces.  (Josh Smith,
9964718Seric	josh@osiris.ac.hmc.edu).
10064718Seric
10164718SericX ***	Add "user" map to look up a user name via getpwnam -- so that
10264718Seric	non-local names can be forwarded to another site.  [8.8]
10364718Seric
10464799SericE ***	Have daemons that start up check the alias database for
10564799Seric	correctness and auto-rebuild if necessary.  This is to handle
10664799Seric	the case of a system crash during an alias database rebuild.
10764799Seric
10864799SericE ***	Eliminate E qf line and e_errorqueue; use e_errorsto a la
10964799Seric	e_receiptto.  This simplifies and gives symmetry.  (Eric
11064799Seric	Wassenaar)
11164799Seric
11265119SericB ***	Fix syslog buffer overflow problems.
11365119Seric
11465165SericX ***	DECNET_RELAY support in configs.
11565165Seric
11665753SericX ***	-wN command line flag to set the width of mailq output.
11765753Seric	(Allan Johannesen)
11865753Seric
11965907SericX **	Allow use of a generalized network service for aliasing?
12065907Seric	How would the protocol be defined?
12165907Seric	James Gritton <gritton@byu.edu>.
12265907Seric
12365555SericE **	Make "local configuration error" a temporary failure?
12465555Seric	(add EX_CONFIG to the markfailure list)
12565555Seric
12665353SericX **	(sigh) BSMTP.
12765353Seric
12865226SericX **	"E" configuration line that sets environment variables.
12965226Seric
13065219SericE **	Change listen() high-load backoff to accept and issue a 4xx
13165219Seric	message so that it responds more quickly.
13265219Seric
13365188SericE **	Change "/usr/tmp/dead.letter" to be based on _PATH_VARTMP.
13465188Seric
13565119SericB **	Commas in NAME envariable cause problems (Peter Wan
13665119Seric	<peter@cc.gatech.edu>).  Merge with suggestions to use
13765119Seric	MIME-format for 8-bit characters?
13865119Seric
13965119SericE **	Save address information that comes back as the "additional
14065119Seric	records" part of an MX lookup, to avoid additional name server
14165119Seric	attempts.  If there is an MX record without an additional A
14265119Seric	record, delete it (this avoids a problem with misconfigured
14365119Seric	DNS situations).
14465119Seric
14565119SericX **	Allow a way to extend the $Z macro with local configuration
14665119Seric	information.
14765119Seric
14864755SericX **	Allow $x in -bt mode to expand macro "x".  (BCX)  [8.8]
14964755Seric
15064755SericX **	Allow /address in -bt mode to expand address through ruleset 0,
15164755Seric	aliases, etc. and display results.  [8.8]
15264755Seric
15364755SericX **	"R mailer address" in -bt mode does remotename on address.
15464755Seric
15564755SericE **	Adjust "infinite loop in rule" code to handle entire ruleset
15664755Seric	(Code from Michael Corrigan).
15764755Seric
15864718SericE **	Allow :include: from command line (not SMTP) to assist in
15964718Seric	"personal list" management -- i.e., creating lists that
16064718Seric	cannot be EXPNed.
16164718Seric
16264718SericX **	Database (keyed lookup) auto-rebuild.
16364718Seric
16464705SericX **	Find a good test suite and include in the distribution.
16564652Seric
16664718SericS **	You can use symbolic links to point into protected directories.
16764718Seric	(AEJ)
16864652Seric
16964705SericX **	Extend OI to allow separate settings for canonification, MX, and A
17064718Seric	lookups.  [8.8?]
17164652Seric
17264718SericX **	Add $!x class to match any number of words not in class x. (KRE)
17364683Seric
17464705SericX **	LOCAL_RULE_5 (Spencer Sun, spencer@phoenix.Princeton.EDU)
17564703Seric
17664705SericX **	Add "bestmx" map -- returns "best MX host" for this address.
17764705Seric	Allows you to do automatic detection of when you are the best
17864705Seric	MX for a given address.  [8.7?]
17964703Seric
18065353SericX **	Some way to diddle resolver flags on a per-lookup basis, such
18165353Seric	as a flag to the map declaration.  (Rick McCarty)
18265353Seric	- Is this really a good idea?  DNSRCH can be turned off by
18365353Seric	  putting a dot at the end.  AAONLY?
18465353Seric
18564718SericX **	Extend makemap to "gather" values -- i.e., merge entries that
18664718Seric	have the same keys. [8.8]  (BCX)
18764703Seric
18864718SericE **	Allow error messages on individual addresses in the qf file.
18964718Seric	(BCX)
19064718Seric
19164718SericX **	Multi-character option names.  [9.1]
19264718Seric
19364718SericX **	User database extensions for mailing lists:
19464718Seric	list:precedence -- Precedence: value for new message
19564718Seric	list:envelopefrom -- envelope "from" value for new message
19664718Seric	others?  [8.8]
19764718Seric
19865353SericX **	Command line switch to set precedence (for mailing list
19965353Seric	generation).  (BCX)
20065353Seric
20164755SericB **	Restore `T' line to eliminate X-Authentication-Warning: at
20264755Seric	inappropriate times.  (Christophe Wolfhugel)
20364755Seric	- T could become a shorthand for Ct -- i.e., create a new
20464755Seric	  predefined class.
20564755Seric	- Eliminate "<user> set sender to <address>" message entirely?
20664755Seric	  (this is the workaround)
20764755Seric
20865119SericB **	Return-Path: header should have <> added if not already there.
20965119Seric
21065119SericX **	Add heuristic to determine if other end is a sendmail; use
21165119Seric	that to decide whether or not to honor F=I mailer flag.
21265119Seric	[der Mouse <mouse@collatz.mcrcim.mcgill.edu>]
21365119Seric
21465119SericX **	Automatically drop into MIME mode if you have a full name
21565119Seric	with 8-bit characters.  See envelope.c 8.19.1.1 and util.c
21665119Seric	8.17.1.1.  From Anders Ellefsrud <anders@ifi.uio.no>.
21765119Seric
21865119SericX **	-b? flag to read a header and show you what it will look like
21965119Seric	after all rewriting for an indicated address.
22065119Seric
22165188SericE **	Log $u in logsender() (for=<someaddress>).
22265188Seric
22365753SericB **	Include SOCKADDR in MCI struct for logging (currently gives
22465753Seric	a sockaddr of zero when printing from the cache).
22565753Seric
22665907SericX *	Map that does MB/MR lookups.  Rick McCarty <mccarty@io.com>.
22765907Seric
22865119SericX *	Allow $> anywhere in RHS.  John Boeske <jboeske@ualberta.ca>.
22965119Seric
23064755SericX *	-V flag to print state of all (?) compilation flags.
23164755Seric
23264718SericX *	Handle Expires: header field (if still in queue).
23364718Seric
23464705SericX *	WIN/3B support (non-atomic rename, no h_addr_list, others?)
23564705Seric	(Bruce Lilly <blilly!bruce@uu.psi.com>)
23664703Seric
23764705SericX *	Sun YBTS daemon uses -ba.  [Martin Kiff <MGK@newton.npl.co.uk>]
23864705Seric
23964705SericB *	EXPN adds @domain to all mailers, including prog.  Is this right?
24064705Seric	[Bob Henry]
24164705Seric
24264705SericB *	EXPN adds @localhost instead of @$M.  [Pel Emanuelsson]
24364705Seric
24464705SericE *	Change body put code to time out around individual puts.  This will
24564705Seric	make the timeout algorithm more responsive and more resilient.
24664705Seric	Unfortunately, it's also a pain in the butt.
24764705Seric
24864705SericX *	Some way to relay unfound local users to another site.
24964705Seric
25064705SericX *	Disable all default RW sets except mailer-specific?
251