You could try mounting the other server's user mail directory on NFS and
give that as the directory in the variable. I've not tried but this is
an idea that struck me as being feasible.
[mailto:ilugc-admin@xxxxxxxxxxxxxxxxxx] On Behalf Of Bhuvan A
Sent: 16 July, 2002 9:44 AM
Subject: [Ilugc] Using $MAILPATH variable across machines
As we know $MAILPATH environment variable in bash can be used to
intimate the user on new mail arrival and it is useful when the mails
are received in the same machine.
Here we have seperate mailserver for our incoming mails. But users
normally work in mainserver. Both are linux servers.
My doubt is, Is it possible to set the $MAILPATH variable in mainserver
to intimate whenever a new mail is arrived in mailserver? Or is there
any other way?
Normally we have an entry something like or similar to
export MAILPATH=/var/spool/mail/$USER?hi $USER, you have new mail. in
Should we able to change this entry to
export MAILPATH=mailserver:/var/spool/mail/$USER?hi $USER, you have new
Valuable suggestions are very welcome.
To unsubscribe email Ilugc-request@xxxxxxxxxxxxxxxxxx with "unsubscribe"
in the subject or body of the message.