summaryrefslogtreecommitdiff
path: root/mcon/U/maildir.U
blob: 0ecb06a23a7a546b702f4b8289c542fa06713df7 (plain)
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
?RCS: $Id: maildir.U,v 3.0.1.1 1993/12/15 08:21:56 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS: 
?RCS: You may redistribute only under the terms of the Artistic Licence,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: that same Artistic Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: maildir.U,v $
?RCS: Revision 3.0.1.1  1993/12/15  08:21:56  ram
?RCS: patch15: now also looks under /var/mail for BSD/386
?RCS:
?RCS: Revision 3.0  1993/08/18  12:09:09  ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
?MAKE:maildir maildirexp: Getfile Loc Oldconfig
?MAKE:	-pick add $@ %<
?S:maildir:
?S:	This variable contains the name of the directory in which mail is
?S:	spooled. Programs using this variable must be prepared to deal with
?S:	~name substitutions.
?S:.
?S:maildirexp:
?S:	This is the same as the maildir variable, but is filename expanded
?S:	at configuration time, for programs not willing to deal with it at
?S:	run-time.
?S:.
: determine where mail is spooled
case "$maildir" in
'') dflt=`./loc . /usr/spool/mail /usr/spool/mail /usr/mail /var/mail`;;
*) dflt="$maildir";;
esac
echo " "
fn=d~
rp='Where is yet-to-be-read mail spooled?'
. ./getfile
maildir="$ans"
maildirexp="$ansexp"