Results 1 to 6 of 6

Thread: [SOLVED] relay all e-mail even local

  1. #1
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default [SOLVED] relay all e-mail even local

    Seen a few topics on this but nothing concrete.

    For wierd reasons, but they're valid I need all e-mail sent through zimbra to relay to another smtp server on my network. I'm in a multiserver setup and this would mean yeah that all e-mails need to go

    mailbox -> mta -> other smtp -> mta -> mailbox

    I have tried going in through the web interface and even setting the webmail mta to be this other smtp server, using zmprov to set zimbraMtaRelayHost and even tried using the transport map to say

    * smtpther.smtp.host (the stupid smiley replaces my : o )

    but no matter what, mails sent locally on zimbra still go

    mailbox -> mta -> mailbox

    Is there any way to do this?
    Last edited by bdial; 07-28-2008 at 05:22 AM.

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    hrm, i think i solved it. i was doing all this on the mta server. setting the relays on the mailbox server seems to have done it so now it does

    mailbox -> other smtp -> mta -> mailbox

  3. #3
    Join Date
    Jan 2008
    Posts
    42
    Rep Power
    7

    Default relay

    bdial... can you elaborate on this as I'm trying to relay mail from zimbra server to google apps server. I have to do it this way because of compliance issues..and the fact that we have an external archiving server that uses postfix rules to archive.. Thanks

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    if you go into your admin ui, go to servers, choose your mailbox server and hit the mta tab you need to chagne

    Web mail MTA Hostname:
    Relay MTA for external delivery:

    set those both to your google apps server or whatever and that should relay all mail.

  5. #5
    Join Date
    Feb 2007
    Location
    Austin, TX
    Posts
    110
    Rep Power
    8

    Default

    After upgrading to 5.0.9 and installing another node which is only running as an MTA (no mail store) I seem to have some mail going directly out via MX record.

    Both zimbraMtaRelayHost and zimbraSmtpHostname are pointed to the IP of my MTA. However in the following snippet of zimbra.log it looks like the message went out via "64.18.4.10" which is not my MTA. Is my interpretation of this log correct?

    [root@zimbra ~]# grep "C20232141D5" /var/log/zimbra.log
    Aug 26 05:27:30 zimbra postfix/cleanup[31323]: C20232141D5: message-id=<20080826102730.C20232141D5@zimbra.server.com>
    Aug 26 05:27:30 zimbra postfix/qmgr[17802]: C20232141D5: from=<>, size=3158, nrcpt=1 (queue active)
    Aug 26 05:27:30 zimbra postfix/bounce[29547]: 7C0452141CB: sender non-delivery notification: C20232141D5
    Aug 26 05:27:31 zimbra postfix/smtp[32074]: C20232141D5: to=<user@mxtoolbox.com>, relay=mxtoolbox.com.s5a1.psmtp.com[64.18.4.10]:25, delay=0.31, delays=0.02/0.01/0.19/0.09, dsn=5.0.0, status=bounced (host mxtoolbox.com.s5a1.psmtp.com[64.18.4.10] said: 550 No such user - psmtp (in reply to RCPT TO command))
    Aug 26 05:27:32 zim3 postfix/qmgr[17802]: C20232141D5: removed
    Peter LeBlond
    Product Development Engineer
    http://www.mxtoolbox.com


  6. #6
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    hrm. my situation was a bit different and it may not be your solution. i wasn't that concerned about all my e-mails going out that one server, just ones bound for my domain (of which my external smtp serer is the mx record) so thats why those settings worked for me. it sounds like you're in need of a different setting, or perhaps a manual postfix change

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, 06: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, 06: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
  •