DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.