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
  #11 (permalink)  
Old 07-03-2009, 01:03 AM
Advanced Member
 
Posts: 186
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
Reply With Quote
  #12 (permalink)  
Old 07-06-2009, 03:33 AM
Outstanding Member
 
Posts: 594
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
Reply With Quote
  #13 (permalink)  
Old 07-06-2009, 01:29 PM
Intermediate Member
 
Posts: 15
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
Reply With Quote
  #14 (permalink)  
Old 11-06-2009, 02:57 PM
Intermediate Member
 
Posts: 15
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,
Reply With Quote
  #15 (permalink)  
Old 11-06-2009, 03:02 PM
Moderator
 
Posts: 1,147
Default

Are you possibly talking about Split Domain - Zimbra :: Wiki?
Reply With Quote
  #16 (permalink)  
Old 11-06-2009, 03:15 PM
Intermediate Member
 
Posts: 15
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,
Reply With Quote
  #17 (permalink)  
Old 11-06-2009, 03:43 PM
Intermediate Member
 
Posts: 15
Default

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

Regards!
Reply With Quote
  #18 (permalink)  
Old 11-08-2009, 09:27 PM
Intermediate Member
 
Posts: 15
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,
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.