LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2003, 08:35 AM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
e-mail address redirect?


Hi all,

I want e-mail sent to postmaster@bartlett-family.net to go to chris@bartlett-family.net. I run sendmail. How is this possible? Please let me know. Thanks a million!!!

Chris
 
Old 05-17-2003, 09:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
on sendmail, best bet is to filter it through procmail, or just set an alias in /etc/aliases, e.g.

postmaster: chris
 
Old 05-17-2003, 09:47 AM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thx Acid,

Worked like a charm! I did, however, have to restart the sendmail daemon. I appreciate it!

Chris
 
Old 05-17-2003, 09:50 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah should have said that. You should have just been able to run newaliases to make sendmail refresh the table.
 
Old 05-17-2003, 03:50 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You are becoming the Sendmail guru aren't ya? Pretty soon cjwsb, you'll be able to write your own book on setting it up. Hope you'll help me here pretty soon when I start asking

Cool
 
Old 05-17-2003, 04:27 PM   #6
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
LOL... I dunno about an expert! Here's a good qoute for you, Chad... One that I have liked for a long time and use to describe myself:

I'm getting a little less dumb everyday!

Thanks for the vote of confidence!

Chris
 
Old 05-18-2003, 09:15 PM   #7
cking
LQ Newbie
 
Registered: May 2003
Posts: 11

Rep: Reputation: 0
toss it in /etc/alias or a .forward in the home directory
 
  


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
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
Redirect cond mail ? michaelsanford Linux - Newbie 2 07-23-2005 01:00 PM
redirect all users mail to admin tanveer Linux - Networking 4 03-03-2005 09:39 PM
How do I get iptables to redirect my default gateway address? Paul Woodhouse Linux - Networking 3 11-11-2003 08:52 AM
how can I use sendmail to e-mail with an existing e-mail address? vofkid Linux - Newbie 0 03-14-2002 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:11 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