-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
Well, seems like I should've RTFM'd before asking for help. I checked the bash
man page and it can do something similar, using the MAILPATH var.
MAILPATH
A colon-separated list of file names to be checked
for mail. The message to be printed when mail
arrives in a particular file may be specified by
separating the file name from the message with a
`?'. When used in the text of the message, $_
expands to the name of the current mailfile. Exam-
ple:
MAILPATH='/usr/spool/mail/bfox?"You have
mail":~/shell-mail?"$_ has mail!"'
Bash supplies a default value for this variable,
but the location of the user mail files that it
uses is system dependent (e.g.,
/usr/spool/mail/$USER).
*grin*
Thanks for the pointer though :)
Cheers,
Xander
On Mon, 7 Aug 2000, Matt Dunford wrote:
I don't know anything about comsatd, but the way my shell notifies me of
mail in different folders is using the 'mail' var.
This is for tcsh, by the way.
# have shell check default, procmail, and vim mailboxes
# for new mail
set mail = (/var/mail/$USER ~$USER/mail/procmail ~$USER/mail/vim)
- --------------------------------------------------------------------
Xander Soldaat xander(_at_)soldaat(_dot_)com
Firewall/security consultant xander(_at_)competa(_dot_)com
To get my public key, send a mail with "public key request" in the
subject to xander(_at_)soldaat(_dot_)com
Key fingerprint = F252 09D2 893E DAE0 EF09 AC3A 46FC BD78 CC13 BCF2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (OpenBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE5jyKmRvy9eMwTvPIRAjsCAJ4wzyTVMlE770mtBmKA/vjueSPHbwCfcFAe
dRHjR8//71pzbdmnqGvzCic=
=Xoin
-----END PGP SIGNATURE-----
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail