Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-2010, 12:22 AM
Loyal Member
 
Posts: 95
Question secondary domain, why it use primary domain for sending mail?

Hi,
My primary domain(domain1.com, mx=mail.domain1.com)working fine for both sending and receiving, now i just add secondary domain(domain2.com, mx=mail.domain2.com) but i am not able to receive mail at secondary domain and if i send mail from secondary domain it will contain domain1 in FROM address.... how to setup it so mail from domain2 will contain FROM address of domain2 not domain1.
simply i want mail from domain1 have FROM address of mail.domain1.com &
mail from domain2 have FROM address of mail.domain2.com
Reply With Quote
  #2 (permalink)  
Old 07-19-2010, 12:32 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

It works for me, if I login to a second domain (as an account in that domain) and send an email the recipient sees the headers from the correct domain.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-19-2010, 12:56 AM
Loyal Member
 
Posts: 95
Default

hi bill,
but in my case mail from domain2 still contain header from domain1, as i added secondary domain from admin panel in domains option but under server option there is hotname of domain1 only, thats why? or i need to cancel default domain settings ?
Reply With Quote
  #4 (permalink)  
Old 07-19-2010, 03:21 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by sadiq007 View Post
hi bill,
but in my case mail from domain2 still contain header from domain1, as i added secondary domain from admin panel in domains option but under server option there is hotname of domain1 only, thats why?
That's the configuration on my server, domain1 is the default domain (and the hostname of the server and the SMTP response) I add a user as user@domain2 and send a message from that account top anyone else on my local server or external email address and the headers show that it came from user@domain2 and the reply should go to user@domain2. I don't see the problem with that unless you're doing something different?

Quote:
Originally Posted by sadiq007 View Post
or i need to cancel default domain settings?
You can't do that, you need a default domain in your system.
__________________
Regards


Bill

Last edited by phoenix; 07-19-2010 at 07:54 AM..
Reply With Quote
  #5 (permalink)  
Old 07-19-2010, 07:51 AM
Loyal Member
 
Posts: 95
Default

after adding secondary domain's mx record in to Web mail MTA Hostnames , now i am able to receive mail at domain2.
so does more then one host entry of Web mail MTA Hostnames (one for each domain) are ok or it will create any problem?

and still mail from domain2 users showing address of domain1 in headers FROM address

does i need to restart zmcontrol ?

Last edited by sadiq007; 07-19-2010 at 08:39 AM.. Reason: edit
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.