LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-16-2007, 02:14 PM   #1
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Postfix sending from different domains


I have two domains set up on my web server, and want to be able to send email from both of them. I understand that I can set up postfix to receive email for multiple domains using virtual alias maps. But what if I want mail from webmaster to be sent from webmaster@domain1.com and mail from fred to be sent from fred@domain2.com. I can manually change myorigin and restart postfix, but there's got to be a better way.
 
Old 04-17-2007, 11:26 AM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 842
Blog Entries: 1

Rep: Reputation: 44
What MDA are you using?
 
Old 04-17-2007, 11:29 AM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Not sure what MDA is. I'm using postfix and courier.
 
Old 04-17-2007, 11:53 AM   #4
redhead277
Member
 
Registered: Dec 2006
Location: Any where with high speed internet
Distribution: Arch linux
Posts: 391

Rep: Reputation: Disabled
MDA = Mail Delivery Agent or the program you use to deliver the mail to the users on your local intranet or machine.
 
Old 04-17-2007, 02:35 PM   #5
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
Think I figured it out. Postfix can do address rewriting as explained here http://www.postfix.org/ADDRESS_REWRI...E.html#generic
 
Old 04-18-2007, 08:10 AM   #6
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 842
Blog Entries: 1

Rep: Reputation: 44
You need to configure Courier with virtual mailboxes. Postfix is only an SMTP server, all it does is deliver mail from one queue to the other but it does not handle mailboxes.
 
  


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
SMTP--direct deliver for most and SMART_HOST when sending to certain domains andrewstr Linux - Server 2 11-22-2006 04:58 PM
Postfix - how do hosted domains download their mail from my postfix franschoek Linux - Software 1 04-01-2006 09:41 PM
managing different domains with postfix jules_fraser Linux - Networking 1 12-22-2003 11:07 PM
sendmail not sending mail to 2 existing domains dv3dv3 Linux - Software 0 07-02-2003 01:50 PM
Sendmail hangs when sending to certian domains Brian_TII Linux - Software 0 09-27-2001 06:52 PM


All times are GMT -5. The time now is 06:20 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration