LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-17-2014, 12:43 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Receiving system emails


I am using LMDE fully updated. I am new to Mint and Debian. I believe this thread is more of a Debian question than Mint.

What is the traditional Debian (LMDE) way to configure the primary user to receive system mails, such as smartd messages? Is exim4 normally used for simple local system mails?

What is the Debian preferred way to forward root mails to the primary account? ~/.forward? /etc/aliases?

What is the preferred way to forward system mails to a webmail account when a user does not use a local mail client?

We don't need a full fledged mail server as in the traditional sense. We only want to capture system mails. Just a basic local-only MTA.

Note: the target end-users are not computer savvy. The process must be transparent to the user. No command line solutions please.

Thanks.
 
Old 05-29-2014, 10:19 PM   #2
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
If the users are not tech-savvy, then why send rootmail to them? Are they going to know what a smart error is? Will they overreact? Will they ignore it until it's too late?

Your best money is on configuring Sendmail or postfix to send email from their local system to an admin alias.

As for aliases, I'm not much with Debian, but in rh-variants it is postfix in conjunction with /etc/aliases. Very simple configuration.
 
Old 05-30-2014, 01:53 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
ssmtp is probably a good tool for the job.
 
Old 05-30-2014, 01:58 AM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Your best money is on configuring Sendmail or postfix to send email from their local system to an admin alias.
These are private users. There are no sys admins.

How they react is something I cannot predict. I presume they will call me because that is their nature. That does not make me "the" sys admin. I don't get paid to be bothered with system mails from lots of other people. I am configuring the mails only as a curtesy when I install Linux for them.

Nor do I want their systems "phoning home."

I configured my disk images with the Mail Notification applet installed along with exim as a local MTA. If they use web mail they will receive a notification popup and if they want to read the system mail Thunderbird will open. Those who already use Thunderbird will receive the mails as normal. We only support Thunderbird at the moment.

Yeah, they never received such mails or notifications in their entire Windows life. Something new for them to get excited about.
 
Old 05-30-2014, 08:38 AM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Debian will typically set this up at install time, and can be changed by reconfiguring the package exim4-config:

Code:
sudo dpkg-reconfigure exim4-config
You may have to change what level of questions you are asked by reconfiguring debconf, and selecting something like "low" for priority:

Code:
sudo dpkg-reconfigure debconf
 
Old 05-30-2014, 12:50 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Debian will typically set this up at install time,
Oddly, LMDE does not, but that is more or less the steps I took to get everything working.

Originally I wanted to send emails to external email addresses as well as localhost addresses, which would be great for those who only use web mail, but then exim has to be configured differently and requires fully qualified domain names. As I guess the number of system mails to be about two per year, launching Thunderbird for those users is acceptable. The trick was finding a way to notify the users who don't use a mail client so they would open Thunderbird. The Mail Notification applet does well in that regard.
 
  


Reply



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
Not receiving emails with Spamdyke 5.0.0 pcslinux123 Linux - Software 1 04-09-2014 07:13 PM
New User Not Receiving Emails ssnella Linux - Software 2 03-10-2012 02:34 PM
Receiving Emails as a server deleted_user_01 Linux - Newbie 14 02-17-2005 09:15 AM
not receiving emails aroop Linux - Networking 1 09-30-2004 05:43 PM
not receiving emails from server eliboone Red Hat 9 08-29-2003 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:30 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
Open Source Consulting | Domain Registration