LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 02-23-2009, 09:00 AM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
Redirect all sent mail to a specific mailbox/address?


How I can redirect all mail sent on/by a linux box to a specific external email address? Sendmail is on the box and is used by most programs to send mail, but I'd also like any mail sent to the root user to be redirected/forwarded too.
 
Old 02-23-2009, 12:31 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
Quote:
root user to be redirected/forwarded too
this can be set in /etc/aliases

Quote:
How I can redirect all mail sent on/by a linux box to a specific external email address?
why do you want to do that?
 
Old 02-25-2009, 01:05 PM   #3
map250r
Member
 
Registered: Aug 2007
Distribution: Debian Squeeze
Posts: 46

Rep: Reputation: 15
Quote:
Originally Posted by neocookie View Post
How I can redirect all mail sent on/by a linux box to a specific external email address?
Don't switch to exim It seems that it can't be done with exim. Or at least not without a huge amount of effort and lots of reconfiguration. I need to switch, because I am getting sick of having messages sent from my computer (atd, anachron, etc) via gmail to an address that does not exist.

Quote:
Sendmail is on the box and is used by most programs to send mail, but I'd also like any mail sent to the root user to be redirected/forwarded too.
Google *is* useful in this case. I found this post via google, and the solution ( http://www.grok.org.uk/docs/smroot.html ) in a conversation on freebsd-questions.
http://www.google.com/search?q=redir...ternal+mailbox
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send outgoing mail to a specific IP address and port starkhorn Linux - Software 1 01-31-2008 06:20 PM
Rejecting non local mail for specific e-mail address vrsic Linux - Server 4 10-24-2006 03:46 AM
routing mail out on a specific IP address LordFarquad Linux - Networking 0 09-01-2004 08:20 PM
How to allow mail relay of specific IP address Stev Linux - Networking 2 02-13-2004 07:40 AM
e-mail address redirect? WorldBuilder Linux - Networking 6 05-18-2003 10:15 PM


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