'\" t .\" $Header: /home/mea/src/CVSROOT/zmailer/man/mboxpath.1.in,v 1.7 2003/08/28 23:51:29 mea Exp $ .ds ]W ZMailer 2.99 .TH MBOXPATH 1zm "2003-Aug-28" .SH NAME mboxpath \- ZMailer utility to show user's mailbox path .SH SYNOPSIS .IP \fBmboxpath\fR 9em [\fB\-D\fR[\fBD\fR]] [\fB\-P\fR[\fBP\fR]] [\fB\-X\fR[\fBX\fR]] [\fB\-d\fR\ \fIdirpath\fR] \fIusername\fR .SH DESCRIPTION The .IR mboxpath (1) is a ZMailer utility program to be used when local user directories have been scattered around, and it is desired to have user's shell environment variable .B MAIL be set to where ever his/her UNIX mailbox file is. .PP This does only manage scattering under common .I \-d\ dirpath directory prefix, but usually that is sufficient. .SH OPTIONS .IP \-d\ \fIdirpath\fR See .IR mailbox (8zm). .IP \-D[D] See .IR mailbox (8zm). .IP \-P[P] See .IR mailbox (8zm). .IP \-X[X] See .IR mailbox (8zm). .SH USAGE This is intended for system-wide startup script usage with code something like following for sh: .PP .RS \fCMAIL=`mboxpath\ \ \-P\ \ $USER`\fR .RE .PP It is important to use SAME options here as are used at running the mailbox program. .PP .SH ENVIRONMENT The default location for user mailbox files depends per system, but one of them is: .BR /var/mail . This may be modified by setting the variable .B MAILBOX in .B /opt/mail/zmailer.conf to the directory containing user mailbox files, for example .BR /var/spool/mail . This is best done in the ZMailer SiteConfig file. .PP This program outputs the .I likely mailbox location to the stdout, it does not go and see if there is anything. .SH FILES .PP .TS l l. \fI/opt/mail/zmailer.conf\fR (ZCONFIG) \fI/var/spool/mail\fR (MAILBOX) .TE .PP While this utility does read .IR ZENV -variable .BR ZCONFIG , the read .RB ' MAILBOX ' variable can be overridden with the .I '\-d' option. .PP .SH SEE ALSO .IR mailbox (8zm), .IR scheduler (8zm), .IR comsat (8), .IR biff (1), .IR flock (2), .IR Mail (1), .IR zmailer.conf (5zm). .SH AUTHOR This program authored and copyright by: .RS 3em Matti Aarnio .RE