LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 02-23-2009, 09:00 AM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 304
Thanked: 0
Redirect all sent mail to a specific mailbox/address?


[Log in to get rid of this advertisement]
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.
neocookie is offline     Reply With Quote
Old 02-23-2009, 12:31 PM   #2
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,539
Thanked: 445
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?
repo is online now     Reply With Quote
Old 02-25-2009, 01:05 PM   #3
map250r
Member
 
Registered: Aug 2007
Distribution: Debian Squeeze/AMD64
Posts: 33
Thanked: 0
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
map250r is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
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 10:43 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration