Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-01-2005, 05:34 PM   #1
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
Send root mail to email address

I know sendmail is working fine becouse I can send a message with the mail command but where can I put my email address so that all of roots mail is sent to my gmail account? I did it once but cant remember what I did. Thanks.
Old 03-01-2005, 07:16 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
By default, edit your /etc/mail/aliases file and after making the changes to the file, simply run newaliases as root, no need to restart sendmail.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Force sendmail to send mail on an ip address sdave1284 Linux - Software 8 11-23-2005 11:26 PM
send mail to external email address hamish Linux - Networking 8 12-10-2004 09:17 AM
how to send logs (etc.) to email address??? win32sux Slackware 7 08-26-2004 12:48 PM
Send mail listening address? bradyc Linux - Newbie 4 02-06-2004 08:49 AM
using `mail` to send email to outside world ganninu Linux - Networking 0 08-04-2003 04:35 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:28 AM.

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