File: mboxpath.1

package info (click to toggle)
zmailer 2.99.51.52pre3-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 16,596 kB
  • ctags: 7,422
  • sloc: ansic: 90,470; sh: 3,608; makefile: 2,784; perl: 1,585; python: 115; awk: 22
file content (79 lines) | stat: -rw-r--r-- 1,710 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
.\" $Header: /home/mea/src/CVSROOT/zmailer/man/mboxpath.1,v 1.2 1999/09/09 16:29:20 mea Exp $
.ds ]W ZMailer 2.99
.TH MBOXPATH 1 "9 Sep 1999"
.SH NAME
mboxpath \- ZMailer utility to show user's mailbox path
.SH SYNOPSIS
.B mboxpath
[
.B \-D[D]
]
[
.B \-P[P]
]
[
.B \-X[X]
]
[
.B \-d
.I dirpath
]
.I username
.SH DESCRIPTION
.I mboxpath
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.

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 (8).
.IP \-D[D]
See
.IR mailbox (8).
.IP \-P[P]
See
.IR mailbox (8).
.IP \-X[X]
See
.IR mailbox (8).
.SH USAGE
This is intended for system-wide startup script usage with
code something like following for sh:

.B MAIL=`mboxpath\ \ \-P\ \ $USER`

It is important to use SAME options here as are used at running
the mailbox program.

.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 /etc/zmailer.conf
to the directory containing user mailbox files, for example
.BR /usr/spool/mail .
This is best done in the ZMailer SiteConfig file.

This program outputs the
.B likely
mailbox location to the stdout, it does not go and see if there is anything.
.SH FILES
.I /etc/zmailer.conf
.br
.I /var/mail (MAILBOX)
.SH SEE ALSO
mailbox(8), scheduler(8), comsat(8C), biff(1), flock(2), Mail(1)
.SH AUTHOR
This program authored and copyright by:
.br
Matti Aarnio <mea@nic.funet.fi>