[Ilugc] Using $MAILPATH variable across machines

  • From: smohan@xxxxxxxxxxxxxxxxx (S Mohan)
  • Date: Tue, 16 Jul 2002 10:46:35 +0530

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.

Mohan

-----Original Message-----
From: ilugc-admin@xxxxxxxxxxxxxxxxxx
[mailto:ilugc-admin@xxxxxxxxxxxxxxxxxx] On Behalf Of Bhuvan A
Sent: 16 July, 2002 9:44 AM
To: ilugc@xxxxxxxxxxxxxxxxxx
Subject: [Ilugc] Using $MAILPATH variable across machines


Hi,

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.

Short Description:

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?

Long Description:

Something like, 

Normally we have an entry something like or similar to
  export MAILPATH=/var/spool/mail/$USER?hi $USER, you have new mail. in
/etc/bashrc

Should we able to change this entry to
 export MAILPATH=mailserver:/var/spool/mail/$USER?hi $USER, you have new
mail.

??

Valuable suggestions are very welcome.
        
                    regards, bhuvaneswaran

_______________________________________________
To unsubscribe email Ilugc-request@xxxxxxxxxxxxxxxxxx with "unsubscribe"
in the subject or body of the message.
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc


Other related posts: