Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: [SOLVED] How can I relay ALL mails (even internal ones)

  1. #11
    adeelarifbhatti is offline Advanced Member
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Lightbulb

    HI all,


    Make use of the file /opt/zimbra/postfix/conf/transport
    Once configured it you have to make the hash format of it i.e. postmap /location/transport.db not so sure if this can be done by zimbra it self.
    And in the main file you also have to make the perameter set to make the mta use of transport.db.


    You may have to define the following in the transport table.
    domain1.com smtp:[192.168.50.1]
    domain2.com smtp:[192.168.50.2]

    The word smtp will not make the mta to use the DNS to check for the DNS record and will relay the mails to the gateway defined.
    And please remember most of the things done by the GUI, doesn't make thing to work properly. I believe much on the file level rather than GUI


    Regards
    Adeel

  2. #12
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    7

    Default

    did you try this :-

    An example
    ------------
    zmprov ga test1@test.com | grep -i transport
    zimbraMailTransport: lmtp:toi-store.in.zimbra.com:7025
    to
    zimbraMailTransport: smtp:relayserver:25

  3. #13
    gagga is offline Intermediate Member
    Join Date
    Jun 2009
    Location
    Munich, Germany
    Posts
    15
    Rep Power
    5

    Default

    Quote Originally Posted by veronica View Post
    did you try this :-

    An example
    ------------
    zmprov ga test1@test.com | grep -i transport
    zimbraMailTransport: lmtp:toi-store.in.zimbra.com:7025
    to
    zimbraMailTransport: smtp:relayserver:25
    Hi Veronica,
    this approach worked fine. Thanks!
    The transport can be set on a per account basis by doing
    Code:
    zmprov ma test1@test.com zimbraMailTransport smtp:relayserver:25

  4. #14
    ElMoRsA is offline Intermediate Member
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    Is there a possible way that this could be done for ALL users without modifying zimbraMailTransport for each ?

    Tried to do the following:
    zmprov md example.com zimbraMailTransport example2.com

    But with this type of configuration email will only be relayed to example2.com when local user does not exist. In my scenario -I know its really ugly- we need to relay ALL mails, even local ones, to example2.com.

    Any ideas ?

    Regards,

  5. #15
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Are you possibly talking about Split Domain - Zimbra :: Wiki?

  6. #16
    ElMoRsA is offline Intermediate Member
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    Nope... I've read that document (and a lottt more! :P ), but that's not what we are needing.

    We have a very weird mail platform where external domain is converted via LDAP to an internal domain (and goes through 1: Ironport 2: Postfix MTA with virtual talbes@LDAP who acts as a delivery "boy" and 3: server who does have the mailboxes and belongs to an internal domain name).

    In order to migrate to Zimbra we need to coexist those platforms, but as I'm pruning that ugly internal domain thing we are installing Zimbra with our external domain as our primary domain and the internal one as an alias. As for testing purposes I'm also creating and syncronizing all our users database from our LDAP to Zimbra i've ALL users created at Zimbra server's.

    This behavior makes all mails comming out from Zimbra deliver to Zimbra itself even when the user isn't already migrated. In order to avoid that we need all mailing to be going out of Zimbra servers and go to server "2" (delivery boy ) who actually knows where the mail box is via our own LDAP.

    Yeah, I'm sure it will be hard to understand, sorry!

    Regards,

  7. #17
    ElMoRsA is offline Intermediate Member
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    Following post on [SOLVED] relay all e-mail even local solved the issue =)

    Regards!

  8. #18
    ElMoRsA is offline Intermediate Member
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    Sorry for the 3rd post, but news are here.

    Following the post I've mentioned before made all mail FROM WEBMAIL to relay, but not from SMTP. Whenever I send an email from Thunderbird/Outlook the email doesn't get relayed :'(.

    Any clues ?

    Regards,

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. DMZ relay to Zimbra internal host
    By swordfish in forum Installation
    Replies: 12
    Last Post: 02-04-2009, 11:30 AM
  2. Zimbra internal mails delivery
    By samuelier in forum Installation
    Replies: 3
    Last Post: 06-15-2007, 07:30 AM
  3. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  4. Set up a internal open relay
    By konradzuse in forum Installation
    Replies: 2
    Last Post: 05-20-2006, 06:52 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
  •