--EVF5PPMfhYS0aIcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
> Can I set the MAIL variable to look at multiple mail folders?
=66rom man bash:
MAIL If this parameter is set to a file name and the MAILPATH va=
ri-
able is not set, bash informs the user of the arrival of mail=
in
the specified file.
MAILCHECK
Specifies how often (in seconds) bash checks for mail. =
The
default is 60 seconds. When it is time to check for mail, =
the
shell does so before displaying the primary prompt. If t=
his
variable is unset, or set to a value that is not a num=
ber
greater than or equal to zero, the shell disables mail checki=
ng.
MAILPATH
A colon-separated list of file names to be checked for ma=
il.
The message to be printed when mail arrives in a particular f=
ile
may be specified by separating the file name from the mess=
age
with a `?'. When used in the text of the message, $_ expands=
to
the name of the current mailfile. Example:
MAILPATH=3D'/var/mail/bfox?"You have mail":~/shell-mail?"$_=
has
mail!"'
Bash supplies a default value for this variable, but the lo=
ca-
tion of the user mail files that it uses is system depend=
ent
(e.g., /var/mail/$USER).
I might add that I have MAIL set to a Maildir format mailbox, and at
least on my Debian system it works just great. So I theorize that if you
had a Maildir setup with subfolders it _may_ work to set MAIL to the
top-level directory. Testing the hypothesis is left for the aspiring
mad scientist. ;-)
--=20
Hans Fugal | De gustibus non disputandum est.
http://hans.fugal.net/ | Debian, vim, mutt, ruby, text, gpg
http://gdmxml.fugal.net/ | WindowMaker, gaim, UTF-8, RISC, JS Bach
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95 CB5E FC98 E8CD E0AA D460
--EVF5PPMfhYS0aIcm
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+ibNr/JjozeCq1GARArexAKDtVb8TTWUbiw88X+BoGdmUfNQQSACgkbJn
zyUVj1e3fIjYnUKoaEa+KC0=
=Gm7p
-----END PGP SIGNATURE-----
--EVF5PPMfhYS0aIcm--
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list