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 11-11-2008, 02:41 PM
Junior Member
 
Posts: 7
Smile [SOLVED] Internal/External mai

Hi Everyone.

I've just installed my first OSS 5.10 Zimbra server on my openSuse 10.2 box. Followed some of the tips in the forums and everything works wonderfully!! Great product.

I need guidance on a couple of quirks though.

I have created a couple of test accounts and I can send email internally and I can send email externally (haven't tried receiving external emails yet). The internal domain I've created is home.local and the the test accounts are bob@home.local and fred@home.local. When I send an email to an external account, for example nobody@btinternet.com, the from address comes up as fred@home.local - so therfore I can't reply to it.
I found that if I put the canonical name in for the account as nobody-else@btinternet.com, the from address is correct and I would be able to reply to it.
Now, if I send an email to nobody-else@btinternet.com it gets sent externally and not to fred@home.local.
How do I get the email to stay internal ?
Do I have to set up another internal domain for btinternet.com?
And if I do, will all emails sent to btinternet.com stay internal?

Sorry if it's a bit long winded, but I thought I'd put in as much info as I could.

Thanks for any help.

Graeme.
Reply With Quote
  #2 (permalink)  
Old 11-12-2008, 12:17 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Yes if you created a internal domain (MX and A) then the emails would stay internal. Why would you want to do this ? What address will external people be using to send you emails ? Not sure what you are really trying to achieve ?
__________________
Reply With Quote
  #3 (permalink)  
Old 11-12-2008, 12:53 AM
Junior Member
 
Posts: 7
Default

Hi,
I have a few external email addresses on public domains, like btinternet.com, vodafone.com and O2.com, so I don't own the domain names.

What I'm tring to achieve is something like the MS Exchange we have at work where , if I want to send an email to "Fred" I can either send it to fred@work.local or fred@btinternet.com and the email stays inside the mail server instead of being sent to the external mail address, and then downloaded back into the mail server via POP3.
On Exchange you can specify other email addresses for a user and emails automatically get routed to that account.

Hope that's clearer.

Graeme
Reply With Quote
  #4 (permalink)  
Old 11-12-2008, 12:56 AM
Moderator
 
Posts: 7,928
Default

Just add the domain aliases from the Admin GUI, and then allocate the aliases to your user accounts. Postfix should then handle the mail routing accordingly.
__________________
Reply With Quote
  #5 (permalink)  
Old 11-12-2008, 02:11 AM
Junior Member
 
Posts: 7
Default

There must be something simple that I'm missing.
I've added the domain btinternet.com in the admin UI, and added an alias to fred@home.local as fred@btinternet.com, and yes, I can now send an email to Fred using either email address and it stays internally.
The only thing is, if I now send an email to someone else that is on the BTInternet network, it doesn't leave the Zimbra server and gets bounced back.
I am doing something wrong, or I am going about this the wrong way?

Graeme.
Reply With Quote
  #6 (permalink)  
Old 11-12-2008, 02:29 AM
Moderator
 
Posts: 7,928
Default

Yes it will do that as ZCS believes it is authoritative for that domain. Delete the domain btinternet.com and see if it will still allow you to add that as a alias.
__________________
Reply With Quote
  #7 (permalink)  
Old 11-12-2008, 04:29 AM
Junior Member
 
Posts: 7
Default

I tried deleting the domain, but then it came up with an error saying that the domain wasn't empty, so I deleted the alias and then deleted the domain successfully.
I then tried to re-create the alias, but the domain is no longer available in the list.

I seem to be going round in circle !!

Graeme.
Reply With Quote
  #8 (permalink)  
Old 11-12-2008, 04:34 AM
Moderator
 
Posts: 7,928
Default

Yeah because of what you are trying to do You are wanting to make ZCS authoritative domain but for selected users which it does not like. Try it from the command line with
Code:
su - zimbra
zmprov aaa fred@home.local fred@btinternet.com
and see what that reports please.
__________________
Reply With Quote
  #9 (permalink)  
Old 11-12-2008, 04:48 AM
Junior Member
 
Posts: 7
Default

Hi,
I tried that and this is the error message.

Quote:
mail:~ # su - zimbra
zimbra@mail:~> zmprov aaa fred@home.local xxxxxxx.xxxxx@btinternet.com
ERROR: account.NO_SUCH_DOMAIN (no such domain: btinternet.com)
Thanks for your quick replies by the way.

Graeme.
Reply With Quote
  #10 (permalink)  
Old 11-12-2008, 04:54 AM
Moderator
 
Posts: 7,928
Default

Guessed as much as Postfix will handle the whole domain. Not sure how to tackle this one
__________________
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.