More data from logs across the farm:
Again as above, I've rebooted everything and tested again, check all dns and reverse dns of all servers and all correct..
So on the proxy server:
2010/10/23 21:10:27 [error] 7219#0: *26 zmauth: route handler x.x.x.x of mailbox server:7072 sent route x.x.x.x of primary ldap server:8080, client: x.x.x.x, server: mail, request: "GET /zimbra/ HTTP/1.1", host: "mail.domain.net", referrer: "https://mail.domain.net/"
2010/10/23 21:10:27 [error] 7219#0: *26 connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.x, server: mail, request: "GET /zimbra/ HTTP/1.1", upstream: "http://x.x.x.x of primary ldap server:8080/zimbra/", host: "mail.domain.net", referrer: "https://mail.comain.net/"
zmprov run from primary LDAP server:
zmprov details of domain info shows:
zimbraMailDeliveryAddress:
kim@domain.net
zimbraMailForwardingAddressMaxLength: 4096
zimbraMailForwardingAddressMaxNumAddrs: 100
zimbraMailHost: shows as the only mailbox server which is correct
zimbraMailIdleSessionTimeout: 0
zimbraMailMessageLifetime: 0
zimbraMailMinPollingInterval: 1m
zimbraMailPurgeUseChangeDateForTrash: TRUE
zimbraMailQuota: 0
zimbraMailSignatureMaxLength: 10240
zimbraMailSpamLifetime: 7d
zimbraMailStatus: enabled
zimbraMailTransport: lmtp:shows as the only mailbox server which is correct:7025
zimbraMailTrashLifetime: 7d
logs from smtp mail server:
smtp mail server routes email to correct mailbox:
Oct 23 21:00:36 mailx1 postfix/smtpd[10881]: connect from client reseolves correct[x.x.x.x]
Oct 23 21:00:53 mailx1 zimbramon[6449]: 6449:err: Service status change: mailx1.domain.net stats changed from stopped to running
Oct 23 21:01:30 mailx1 postfix/smtpd[10881]: E2ED0E0C1: client=client resolves correct[x.x.x.x]
Oct 23 21:02:16 mailx1 postfix/cleanup[11373]: E2ED0E0C1: message-id=<20101023130130.E2ED0E0C1@mailx1.domain.net>
Oct 23 21:02:16 mailx1 postfix/qmgr[9263]: E2ED0E0C1: from=<admin@domain.net>, size=474, nrcpt=1 (queue active)
Oct 23 21:02:20 mailx1 postfix/smtpd[10881]: disconnect from client resolves correct[x.x.x.x]
Oct 23 21:02:24 mailx1 amavis[6885]: (06885-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20101023T210219-06885: <admin@domain.net> -> <kim@domain.net> SIZE=474 Received: from mailx1.domain.net ([127.0.0.1]) by localhost (mailx1.domain.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <kim@domain.net>; Sat, 23 Oct 2010 21:02:19 +0800 (WST)
Oct 23 21:02:24 mailx1 amavis[6885]: (06885-01) Checking: EqvAGidQ+WnG MYNETS [172.16.17.6] <admin@domain.net> -> <kim@domain.net>
Oct 23 21:02:30 mailx1 postfix/smtpd[12556]: connect from localhost.localdomain[127.0.0.1]
Oct 23 21:02:30 mailx1 postfix/smtpd[12556]: 3E3E4E0D8: client=localhost.localdomain[127.0.0.1]
Oct 23 21:02:30 mailx1 postfix/cleanup[11373]: 3E3E4E0D8: message-id=<20101023130130.E2ED0E0C1@mailx1.domain.net>
Oct 23 21:02:30 mailx1 postfix/qmgr[9263]: 3E3E4E0D8: from=<admin@domain.net>, size=1132, nrcpt=1 (queue active)
Oct 23 21:02:30 mailx1 amavis[6885]: (06885-01) FWD via SMTP: <admin@domain.net> -> <kim@domain.net>,BODY=7BIT 250 2.0.0 Ok, id=06885-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3E3E4E0D8
Oct 23 21:02:30 mailx1 amavis[6885]: (06885-01) Passed CLEAN, MYNETS LOCAL [x.x.x.x] [x.x.x.x] <admin@domain.net> -> <kim@domain.net>, Message-ID: <20101023130130.E2ED0E0C1@mailx1.domain.net>, mail_id: EqvAGidQ+WnG, Hits: 0.788, size: 474, queued_as: 3E3E4E0D8, 12535 ms
Oct 23 21:02:30 mailx1 postfix/smtp[12201]: E2ED0E0C1: to=<kim@domain.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=67, delays=53/0.06/3/11, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=06885-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3E3E4E0D8)
Oct 23 21:02:30 mailx1 postfix/qmgr[9263]: E2ED0E0C1: removed
Oct 23 21:02:30 mailx1 amavis[6885]: (06885-01) extra modules loaded: /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
Oct 23 21:02:32 mailx1 postfix/lmtp[12559]: 3E3E4E0D8: to=<kim@domain.net>, relay=the correct mailbox server hosting this mailbox[x.x.x.x]:7025, delay=2.4, delays=0.03/0.03/0.03/2.3, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Oct 23 21:02:32 mailx1 postfix/qmgr[9263]: 3E3E4E0D8: removed
So SMTP gets the correct info from the same mailbox server where to route emails to for the mailbox the I am trying to access via webmail that gets a proxy redirect to what is actually my primary LDAP server.
Functions listed as installed on servers:
svr1 primary ldap server - only ldap
svr2 replication ldap server - only ldap
svr3 mailbox server - mailbox, spell checker, logger
svr4 mta server - mta, anti spam, anti virus
srv5 proxy server - imap and pop proxy (i have also turned on http proxy and set mailbox server for reverse proxy lookup target and it is set correctly)
When you go into the admin panel and have a look at mailbox servers avaliable there is only the single mailbox server..