Hi everyone.I have a few friends who telnet over to my Linux machine so as to learn basic basic Linux commands, and I hope to eventually have something of interest for them to do while on.But for now I would like to set up a system mail service.How would I go about setting this up?I want it so that when they log in to their account and they have mail, they will be notified, the same as the system does for root in /var/spool/mail/root.Any suggestions would be appreciated! Thanks. Donnie W Linville
On Mon, Sep 03, 2001 at 09:53:49PM -0400, Donnie Linville wrote:
Hi everyone.I have a few friends who telnet over to my Linux machine so as to learn basic basic Linux commands, and I hope to eventually have something of interest for them to do while on.But for now I would like to set up a system mail service.How would I go about setting this up?I want it so that when they log in to their account and they have mail, they will be notified, the same as the system does for root in /var/spool/mail/root.Any suggestions would be appreciated! Thanks.
You shouldn't need to do much to set this up. sendmail should quite happily deliver mail to local users any time of the day or night. Assuming you're using bash, do a 'man bash' and look for the MAIL, MAILCHECK and MAILPATH variables. You could set these to whatever you want in ~/.profile or /etc/profile or whereever. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
participants (2)
-
Chris Reeves
-
Donnie Linville