LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-22-2010, 02:12 PM   #1
Prime235
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: Disabled
Forward user email to one domain


Is there an easier way to forward email, in postfix, from a user to one domain for the user without listing every domain and user name?

Example: send all of user joe's email to joe@somewhere, in which there are mulitple domains other than "somewhere".

Usual Given Example-
/etc/postfix/virtual:
joe@example.com joe@somewhere
jane@example.com jane@somewhere-else

Can you do something like:
joe@ joe@somwhere
jane@ jane@somewhere
so every email of joe's goes to the somewhere domain, and every email of jane's goes to the email domain.

I'm looking for an easier way to forward email, verses having (ex) 50 different lines for 5 users and 10 domains.
I hope this makes sence.

Thanks.
 
Old 11-22-2010, 03:20 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
No it doesn't make "sense".
You want to forward email for one user to one domain, then you mention multiple domains. Make your mind up.

If you ask a sensible question, you will probably get a sensible answer.
 
Old 11-23-2010, 07:42 AM   #3
Prime235
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: Disabled
All I meant was I need all users mail to go to one domain, while keeping the email separated for each user.

Ex:
Joe@whatever1 Joe@Here
Joe@whatever2 Joe@Here
Joe@whatever3 Joe@Here
...

Jane@whatever1 Jane@Here
Jane@whatever2 Jane@Here
Jane@whatever3 Jane@Here
...

So I have multiple users and multiple domains, but i need all email to go to the individual user on one domain. Not all email going to one user on one domain.

I hope this is clearer.

Last edited by Prime235; 11-23-2010 at 08:53 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix: forward all account email within domain to another email account? 18Googol2 Linux - Software 3 03-04-2011 01:10 PM
Sendmail block email to particular user on same domain CEdstrom Slackware 4 10-16-2008 11:27 AM
Qmail: forward non-existent user to remote domain? pushpraj Linux - Distributions 0 07-11-2006 03:40 AM
what are the things i need to send/rcv email to internet with user@domain.org? kublador Linux - Newbie 4 06-26-2006 04:12 AM
cant send email (using sendmail) to newly added domain user sirjosi Linux - Newbie 0 10-22-2003 01:12 AM


All times are GMT -5. The time now is 09:01 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 Google+: linuxquestions
Open Source Consulting | Domain Registration