README revision 90792
138032SpeterThis directory contains the source files for mail.local.
238032Speter
338032SpeterThis is not intended to be used on *stock* System V derived systems such as
438032SpeterSolaris or HP-UX, since they use a totally different approach to mailboxes
590792Sgshapiro(essentially, they have a set-group-ID program rather than set-user-ID, and
690792Sgshapirothey rely on the ability to "give away" files to do their work).
738032Speter
838032SpeterIf you choose to run *this* mail.local on these systems then you may also
938032Speterneed to replace the existing MUAs, as well as IMAP and POP servers, with
1038032Speterones that are compatible with the BSD interface.  You have been warned!
1164562Sgshapiro
1264562SgshapiroFor systems with maillock() support, compile with -DMAILLOCK and link with
1364562Sgshapiro-lmail to use the maillock() routines.  This can be accomplished in your
1464562Sgshapirosite.config.m4 file with:
1564562Sgshapiro
1664562Sgshapiro	APPENDDEF(`conf_mail_local_ENVDEF', `-DMAILLOCK')
1764562Sgshapiro	APPENDDEF(`conf_mail_local_LIBS', `-lmail')
1864562Sgshapiro
1964562SgshapiroDefining CONTENTLENGTH (-DCONTENTLENGTH) will build a mail.local which
2064562Sgshapirooutputs a Content-Length: header.  Solaris 2.3 and later will automatically
2164562Sgshapiroinclude Content-Length: support.  This can be accomplished in your
2264562Sgshapirosite.config.m4 file with:
2364562Sgshapiro
2464562Sgshapiro	APPENDDEF(`conf_mail_local_ENVDEF', `-DCONTENTLENGTH')
2564562Sgshapiro
2664562SgshapiroDefining MAILGID to a 'gid' (-DMAILGID=6) will cause mailboxes to be
2764562Sgshapirowritten group writable and with group 'gid'.  This can be accomplished in
2864562Sgshapiroyour site.config.m4 file with:
2964562Sgshapiro
3064562Sgshapiro	APPENDDEF(`conf_mail_local_ENVDEF', `-DMAILGID=6')
3164562Sgshapiro
3290792Sgshapiromail.local will not be installed set-user-ID root. To use it as local
3364562Sgshapirodelivery agent without LMTP mode, use:
3464562Sgshapiro
3564562Sgshapiro	 MODIFY_MAILER_FLAGS(`LOCAL', `+S')
3664562Sgshapiro
3764562Sgshapiroin the .mc file.
3864562Sgshapiro
3990792Sgshapiro$Revision: 8.10 $, Last updated $Date: 2001/09/08 01:21:04 $
40