Results 1 to 5 of 5

Thread: [SOLVED] Relay all mail.

  1. #1
    Nitecon is offline Junior Member
    Join Date
    Sep 2008
    Posts
    6
    Rep Power
    6

    Default [SOLVED] Relay all mail.

    Good morning folks!

    I have an interesting problem. I have one domain for 2 offices and due to several internet connection issues at the second office I installed a second server. The reason for this is if the internet drops out then the people internally in that office can still mail each other which is very important. The main office works the same way.

    So I have 2 zimbra open source servers, 1 domain. What I would like to do is relay all mail through an external MTA reason being, I don't have user1@domain.com on the secondary server. But since the domain is the same it sends me an email back that it is undeliverable because the user does not exist, even though the user does exist... on another server.

    Is there a way to relay both local and external mail through a smart host / ISP?

    Any help would be appreciated.

    Thanks,
    Will.

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    go to the admin interface under servers and choose your mailbox server. go to the mta tab and change both the Web mail MTA Hostname: and Relay MTA for external delivery: to be your isp

  3. #3
    Nitecon is offline Junior Member
    Join Date
    Sep 2008
    Posts
    6
    Rep Power
    6

    Default

    I don't like it when things are this easy! Now all the M$ guys are going to want to use my server too and then break the rest of it!

    Thanks for the help bdial!

  4. #4
    lwhite is offline Junior Member
    Join Date
    Sep 2008
    Location
    Boston
    Posts
    6
    Rep Power
    6

    Default Relay only *some* mail

    Is there a way to do this with only *some* of the mail? Basically, my distribution lists are still being managed by my external MTA and, rather than have two copies of each DL, I would like to tell zimbra to relay mail for dl1, dl2, dl3, etc but use the local MTA for user1, user2, etc.

    Is this possible?

  5. #5
    lwhite is offline Junior Member
    Join Date
    Sep 2008
    Location
    Boston
    Posts
    6
    Rep Power
    6

    Default Solved

    I discovered the answer to this referencing Split Domain - Zimbra :: Wiki. Basically, I told Zimbra to deliver all unknown email addresses to our outside provider (who is managing the DLs for now). For example, email to user1@example.com gets routed by Zimbra and dl1@example.com gets redirected to our external provider who sees it as a DL and then sends it back in as the individual email accounts.

    I also need to redirect mail from certain accounts through a shell script (basically to create tickets when email comes to our support mailbox). I did this by creating a new Zimbra domain with our internal DNS zone (examplei.com) and told zimbra (using the split_domain techniques above) to send any "unknown" (read: all) addresses to a server that has a more traditional postfix running and uses a procmail rule to shell exec and create our ticket. To connect the two together, I put a forward rule into support@example.com to forward to support@examplei.com.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  4. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 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
  •