README revision 64562
1This directory contains the source files for mail.local.
2
3This is not intended to be used on *stock* System V derived systems such as
4Solaris or HP-UX, since they use a totally different approach to mailboxes
5(essentially, they have a setgid program rather than setuid, and they rely
6on the ability to "give away"  files to do their work).
7
8If you choose to run *this* mail.local on these systems then you may also
9need to replace the existing MUAs, as well as IMAP and POP servers, with
10ones that are compatible with the BSD interface.  You have been warned!
11
12For systems with maillock() support, compile with -DMAILLOCK and link with
13-lmail to use the maillock() routines.  This can be accomplished in your
14site.config.m4 file with:
15
16	APPENDDEF(`conf_mail_local_ENVDEF', `-DMAILLOCK')
17	APPENDDEF(`conf_mail_local_LIBS', `-lmail')
18
19Defining CONTENTLENGTH (-DCONTENTLENGTH) will build a mail.local which
20outputs a Content-Length: header.  Solaris 2.3 and later will automatically
21include Content-Length: support.  This can be accomplished in your
22site.config.m4 file with:
23
24	APPENDDEF(`conf_mail_local_ENVDEF', `-DCONTENTLENGTH')
25
26Defining MAILGID to a 'gid' (-DMAILGID=6) will cause mailboxes to be
27written group writable and with group 'gid'.  This can be accomplished in
28your site.config.m4 file with:
29
30	APPENDDEF(`conf_mail_local_ENVDEF', `-DMAILGID=6')
31
32mail.local will not be installed setuid root. To use it as local
33delivery agent without LMTP mode, use:
34
35	 MODIFY_MAILER_FLAGS(`LOCAL', `+S')
36
37in the .mc file.
38
39$Revision: 8.8 $, Last updated $Date: 1999/09/10 01:49:41 $
40