LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-16-2012, 12:52 PM   #16
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534

Brain fart on my end:

/etc/login.defs: MAIL_CHECK_ENAB no

Not profile.d. Sorry! Yes, that is system wide.

In addition to the previous directive, I have the following in my ~/.bashrc:

unset MAILCHECK

For many years I have commented out the whole biff snippet in /etc/profile. I don't bother redirecting anything to /dev/null.

I have all system emails and root emails forwarded to my normal user account. I do this through /etc/mail/aliases:

# Who gets root's mail.
root: ${USER}@${HOSTNAME}

With $USER and $HOSTNAME replaced with the actual names. After editing and saving /etc/mail/aliases, run the newaliases command and restart sendmail.
 
3 members found this post helpful.
Old 03-17-2012, 01:08 AM   #17
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Will try login.defs.

Thanks all.
 
Old 03-26-2012, 06:10 PM   #18
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Worked.

Thanks all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable the new mail notification in console mode? retypedef Linux - Newbie 6 03-21-2010 05:15 AM
Disable commandline new mail notification fw12 Linux - General 2 11-28-2006 05:47 PM
E-Mail notification to users via SMS (gateway script ok, but notification script?!?) Riku2015 Linux - Networking 10 03-08-2002 11:16 AM
Disable/Enable Root Login @ Console ryanstrayer Linux - Security 4 01-18-2002 05:49 PM


All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration