09-10-2002
use .forward to send mail to your remote laptop or PC...
I believe that you are asking to make a shortcut as in Windows?
I would advise against it because the / directory is usually very small and you would fill it up quickly if you get alot of mail.
However, if you still want to do this, you can use the ln command.
ln -s /var/spoo/mail/root /mail.root
My suggestion is to install elm or use the builtin mail command to check your mail. Just type "mail" at the prompt.
I would even suggest using .forward to send your emails that go to root over to Outlook or Outlook Express on your PC or laptop. This is the way that I monitor all myemail for 14 boxes.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Sorry, anybody here knows how to make a shortcut in unix?
Thanks.
Sebastian. (4 Replies)
Discussion started by: seba
4 Replies
2. UNIX for Dummies Questions & Answers
Also,
Wherever you are exploring files in the UNIX structure you can jusy type "cd". This will take you to your home directory.
Hope that helps.
Cheers! (4 Replies)
Discussion started by: guest100
4 Replies
3. UNIX for Dummies Questions & Answers
Hey, im new to Linux...totally new.
I know there is a way to assign a type of variable or something to a directory, so instead of having to type "cd /var/www" etc, I could just assign a variable to the directory, so I could just do "cd $assignedvar" and it would be there...if you get what I... (0 Replies)
Discussion started by: mo0ness
0 Replies
4. Shell Programming and Scripting
Is there a key board shortcut in vi editor to allow me to find the next ( or { that are corresponding to the first one?
Thanks!
It's % sign. (1 Reply)
Discussion started by: whatisthis
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using the Korn-Shell (ksh) and would like to know all the shortcut keys. For example: Shift + Insert etc.
Thank you very much.
Take care (0 Replies)
Discussion started by: --crimson--
0 Replies
6. UNIX for Dummies Questions & Answers
There are a number of comparison operators used in scripting and programming languages, such as the following:
=, ==, ===, !=, =~, <, >, <=, >=, etc
Is there a shortcut name for them, such as one has for as being any capital letter? If not, it would mean that I would have to list them all for a... (2 Replies)
Discussion started by: figaro
2 Replies
7. UNIX for Advanced & Expert Users
Using GNU-Screen for a long time.
C-a 1 2 n p to navigate to other tabs. This works till 9. I often have 10, 11 etc. Is there any way to go to them quickly ?
Currently, i have to do C-a 9, C-a n which is quite a pain. Thanks. (0 Replies)
Discussion started by: sentinel
0 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I use the shortcut keys CTRL-a and CTRL-e to move cursor to start and end of line in shell prompt alot. But recently what happened to my system i don't know only CTRL-a is working not CTRL-e . If i press CTRL-e any other window in that desktop pop's up. Can any1 tell me how to correct... (2 Replies)
Discussion started by: vio719
2 Replies
9. Solaris
Hello all,
I am facing some problem after installing the Openoffice in Solaris 10. The installation is successful but i cannot find any icon or shortcut on both Application and Desktop... please help me on this.... (8 Replies)
Discussion started by: aungyepaing
8 Replies
10. Shell Programming and Scripting
Hi, I want to match a column of one file with many others and take the average of each one and put them into one file (I know sounds complicated).
so the 1st file is just a list of names that I want to match with the 2nd file that have names along with rows of values.
awk... (4 Replies)
Discussion started by: kylle345
4 Replies
LEARN ABOUT CENTOS
pam_mail
PAM_MAIL(8) Linux-PAM Manual PAM_MAIL(8)
NAME
pam_mail - Inform about available mail
SYNOPSIS
pam_mail.so [close] [debug] [dir=maildir] [empty] [hash=count] [noenv] [nopen] [quiet] [standard]
DESCRIPTION
The pam_mail PAM module provides the "you have new mail" service to the user. It can be plugged into any application that has credential or
session hooks. It gives a single message indicating the newness of any mail it finds in the user's mail folder. This module also sets the
PAM environment variable, MAIL, to the user's mail directory.
If the mail spool file (be it /var/mail/$USER or a pathname given with the dir= parameter) is a directory then pam_mail assumes it is in
the Maildir format.
OPTIONS
close
Indicate if the user has any mail also on logout.
debug
Print debug information.
dir=maildir
Look for the users' mail in an alternative location defined by maildir/<login>. The default location for mail is /var/mail/<login>.
Note, if the supplied maildir is prefixed by a '~', the directory is interpreted as indicating a file in the user's home directory.
empty
Also print message if user has no mail.
hash=count
Mail directory hash depth. For example, a hashcount of 2 would make the mail file be /var/spool/mail/u/s/user.
noenv
Do not set the MAIL environment variable.
nopen
Don't print any mail information on login. This flag is useful to get the MAIL environment variable set, but to not display any
information about it.
quiet
Only report when there is new mail.
standard
Old style "You have..." format which doesn't show the mail spool being used. This also implies "empty".
MODULE TYPES PROVIDED
The session and auth (on establishment and deletion of credentials) module types are provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_SERVICE_ERR
Badly formed arguments.
PAM_SUCCESS
Success.
PAM_USER_UNKNOWN
User not known.
EXAMPLES
Add the following line to /etc/pam.d/login to indicate that the user has new mail when they login to the system.
session optional pam_mail.so standard
SEE ALSO
pam.conf(5), pam.d(5), pam(8)
AUTHOR
pam_mail was written by Andrew G. Morgan <morgan@kernel.org>.
Linux-PAM Manual 09/19/2013 PAM_MAIL(8)