LinuxQuestions.org
Review your favorite Linux distribution.
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 05-06-2002, 10:39 AM   #1
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
email notification in slack


hello all... i'm running slack8, which came with a nifty little feature which outputs the first few lines of an email in the terminal or console when a new mail is received.

basically, i'd like to know how i can modify this to check another user's account. here's the situation:

i log into my box as root, which has sendmail and other various network services running. whenever i receive mail as root@domain.com the first few lines of the email are outputted to the console as soon as the mail is received. this is very useful, as it saves me from constantly checking for new mail. the only problem is that i don't receive mail as root, i receive it as another user. so while in root, in order to check that mail, i need to su in as the user and run pine. in order to make this less of a hastle, i've set pine to open the mailbox of my mail id and not root when opened as root, which works great. however, the only time i receive the mail alert is when mail is sent to me as root, and not as the other user. does anyone know how to change this so whe i'm logged in as root this mail notification program will check the other account? i really have no idea what this program is, it just came installed with slack8.

i appreciate any insight. :-)
 
Old 05-06-2002, 11:11 AM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I'm not a user of sendmail (thank gosh), too painful to setup for my brain. But, as far as a general response of insight. the fetchmail program is one that you will probably want to look into to use in conjunction with sendmail for user accounts. To automate this process of fetching the user's mail and using sendmail to shoot it to pine or whatever, you can use a cronjob. The man page for crontab is very decent and easy to understand. Sorry if this was too general, hope it helps with some idears though.
 
Old 05-09-2002, 02:42 PM   #3
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
biff

The program that Slack is using for e-mail notification is biff. and AFAIK, there is no way to make biff check another user's account. But there is no lack of e-mail notification programs out there. I'm sure one will work for you just as you want.

Comon practice, however, is to always log on with a user account, and only su to root when you need to perform a specific task. You would therefore also create an e-mail alias for root that points to your user account.
 
Old 05-10-2002, 11:08 AM   #4
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Original Poster
Rep: Reputation: 30
excellent... all i really needed was the name of the program. thanx!

i login as root because i'm usually always doing work on my system that requires root access, so it's a bit of a pain having to su to root all the time.
 
  


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
email notification mbegovic LQ Suggestions & Feedback 6 04-01-2004 12:36 PM
New Email Notification lapthorn Linux - Software 0 02-04-2004 09:44 AM
Email Notification ezra143 LQ Suggestions & Feedback 6 01-12-2004 10:17 AM
Email notification jeremy LQ Suggestions & Feedback 6 11-07-2002 01:16 PM
email notification elainepearl Linux - General 1 01-14-2002 05:58 AM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
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