Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've explored the Postfix documentation and it seems that that what I want to do is setup:
Postfix on a Null Client

Slicehost is a dead end for technical help, but here is what I want to do.

I need have email setup just to send out registration confirmations and new password requests.

I want to do this for 2 domains hosted on the server:

This is the current configuration for


myhostname =   
alias_maps = hash:/etc/aliases  
alias_database = hash:/etc/aliases  
myorigin = /etc/mailname  
mydestination =, instantdm, localhost.localdomain, localhost  
relayhost =  
mynetworks = [::ffff:]/104 [::1]/128  
mailbox_size_limit = 0  
recipient_delimiter = +  
inet_interfaces = loopback only  
local_transport = error:local delivery is disabled  

This is how it seems it seems should be configured for, but I don't understand how to configure postfix for 2 different domain names.


 myorigin = # this defines what the From address in the email vs.  
 relayhost = $mydomain  
 inet_interfaces = loopback-only  
 local_transport = error:local delivery is disabled  

Can you point me to better instructions or tell me how to configure this properly?

share|improve this question

migrated from Aug 4 '11 at 19:49

This question came from our site for professional and enthusiast programmers.

You should list, in "mydestination =", not "myorigin =".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.