Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: [SOLVED] Internal/External mail

  1. #1
    Gresher is offline Junior Member
    Join Date
    Nov 2008
    Location
    Llanfairfechan, N. Wales.
    Posts
    7
    Rep Power
    6

    Smile [SOLVED] Internal/External mail

    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.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    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 ?

  3. #3
    Gresher is offline Junior Member
    Join Date
    Nov 2008
    Location
    Llanfairfechan, N. Wales.
    Posts
    7
    Rep Power
    6

    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

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    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.

  5. #5
    Gresher is offline Junior Member
    Join Date
    Nov 2008
    Location
    Llanfairfechan, N. Wales.
    Posts
    7
    Rep Power
    6

    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.

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    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.

  7. #7
    Gresher is offline Junior Member
    Join Date
    Nov 2008
    Location
    Llanfairfechan, N. Wales.
    Posts
    7
    Rep Power
    6

    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.

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    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.

  9. #9
    Gresher is offline Junior Member
    Join Date
    Nov 2008
    Location
    Llanfairfechan, N. Wales.
    Posts
    7
    Rep Power
    6

    Default

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

    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.

  10. #10
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Guessed as much as Postfix will handle the whole domain. Not sure how to tackle this one

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Use zimbra with internal and external mail
    By maito in forum Administrators
    Replies: 0
    Last Post: 03-20-2012, 03:11 PM
  2. Replies: 1
    Last Post: 05-02-2011, 07:17 PM
  3. Replies: 1
    Last Post: 05-02-2011, 07:17 PM
  4. internal and external mail
    By pinoy_steal in forum Installation
    Replies: 2
    Last Post: 02-19-2010, 06:07 AM
  5. Internal and External mail in Zimbra?
    By Firstime in forum Administrators
    Replies: 3
    Last Post: 10-05-2009, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •