Results 1 to 10 of 10

Thread: [SOLVED] Receiving email by IP address - @IP

  1. #1
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Question [SOLVED] Receiving email by IP address - @IP

    Just installed Zimbra in Ubuntu 8.04 LTS on Sun Virtual Box.
    Everything is OK and running smoothly.

    The Virtual Box is using Hosted Mode so is acting as a server belonging to my internal network, as my network is behind a firewall with an external/public/Internet IP address.

    I would like to configure Zimbra to receive emails as normal but also with the External IP address. username@xxx.xxx.xxx.xxx.

    I am migrating from a MS Exchange Server to Zimbra. Exchange could do it, so I guess Zimbra can do it too.

    Could anyone help me with this configuration?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    I guess you've searched the forums and wiki for an answer? As you're behind a firewall try setting up a Split DNS.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    To stop Postfix from performing a MX lookup against the domain element of the email address you would need to specify it as username@[xxx.xxx.xxx.xxx].

  4. #4
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Arrow Email by IP test using CentralOPS.net utilities

    I have not done the splitDNS procedure yet, is complex for me.

    This is an email by IP test using CentralOPS.net utilities:

    Email Dossier Investigate email addresses
    email address

    user: 144.aaa.bbb.ccc [anonymous] 47/50
    log in | get account


    Validating adenawar@[144.aaa.bbb.ccc]...

    Validation results
    confidence rating: 0 - Bad address
    error : RecipientRejected - Mail server rejected the email address.
    canonical address:

    MX records
    preference exchange IP address (if included)
    0 [144.aaa.bbb.ccc]

    SMTP session
    [Contacting [144.aaa.bbb.ccc]...]
    [Connected]
    220 ubuntuzimbra.demosys.coneco.local ESMTP Postfix
    EHLO hexillion.com
    250-ubuntuzimbra.demosys.coneco.local
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    MAIL FROM:
    250 2.1.0 Ok
    RCPT TO:
    554 5.7.1 : Relay access denied
    [Address has been rejected]
    RSET
    250 2.0.0 Ok
    QUIT
    221 2.0.0 Bye
    [Connection closed]



    -- end --
    URL for this output | return to CentralOps.net, a service of Hexillion

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Have you added the IP as a domain alias otherwise ZCS will not know where to deliver the email ?

  6. #6
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Question Partial solution

    I added a secondary domain with the external IP and created a test account using the Admin Web Console.

    Is this the same as adding a domain alias?

    Now the secondary domain answer the recipient by IP requests.

    Email Dossier Investigate email addresses
    email address

    user: 144.aaa.bbb.ccc [anonymous] 46/50
    log in | get account


    Validating adenawar@[144.aaa.bbb.ccc]...

    Validation results
    confidence rating: 3 - SMTP
    The email address passed this level of validation
    without an error. However, it is not guaranteed to be
    a good address. more info
    canonical address:

    MX records
    preference exchange IP address (if included)
    0 [144.aaa.bbb.ccc]

    SMTP session
    [Contacting [144.aaa.bbb.ccc]...]
    [Connected]
    220 ubuntuzimbra.demosys.coneco.local ESMTP Postfix
    EHLO hexillion.com
    250-ubuntuzimbra.demosys.coneco.local
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    MAIL FROM:
    250 2.1.0 Ok
    RCPT TO:
    250 2.1.5 Ok
    RSET
    250 2.0.0 Ok
    QUIT
    221 2.0.0 Bye
    [Connection closed]



    -- end --
    URL for this output | return to CentralOps.net, a service of Hexillion

  7. #7
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Default

    If this is the correct way to create the domain alias, then now I need a way to map/alias each account on primary domain to the secondary domain

  8. #8
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    To make that @x.x.x.x an alias: Managing Domains - Zimbra :: Wiki

    Regarding @domain.com usage:
    If you have lan.ip & public.ip (NAT) for your zimbra server, you probably still want a split dns; such that dig zimbra.domain.com internally you're resolving the lan.ip of the server, and from the outside the public.ip of the server.

  9. #9
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Default

    My Zimbra server has a Lan IP and then I have a firewall/router with the Public IP that port forward the connections to the internal server. The local Domain DNS is not public, what I have is a Managed DNS that has the MX record addresing to my external IP. Then I created an MX record internally for the internal email clients to use the Zimbra server as the SMTP server.

    Is this the same framework you (mmorse) are describing? I don't know the word 'dig'.

  10. #10
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Default

    As far as the original question, the answer I followed/gather in this thread is the following: create a secondary domain or an alias domain with the name format [xxx.aaa.bbb.ccc] where xxx.aaa.bbb.ccc is the external/public IP address, have my router/firewall routing the SMTP/25 port to the Zimbra server, then follow the "Managing Domains - Zimbra :: Wiki" to create the account alias from the primary domain to the secondary/alias domain.

    As off what is the best way to have the same results with better performance is another discussion. But I am not an expert in Linux nor Zimbra so it would be better for someone else to take over this thread.

    Also would be nice to be more descriptive as for a novice like me could understand.

    Thank you very much for your promptly responses and good help.

    Jose E.
    Last edited by jetorres; 04-09-2009 at 01:04 PM.

Similar Threads

  1. [SOLVED] mailboxmanager does not start
    By jrefl5 in forum Administrators
    Replies: 18
    Last Post: 01-30-2012, 11:40 PM
  2. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 11:38 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM

Posting Permissions

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