server pool and multiple MTA

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

server pool and multiple MTA

Postby k_k » Sun Jul 10, 2011 6:03 am

Hi,
I am testing multi-server setup as need to migrate single setup to multi-server setup.
I have followed multi-server installation guide and setup below mentioned servers with zcs 6.0.6 version :
1. ldap1.example.com -> master ldap

2. mail1.example.com -> first mail store

3. mail2.example.com -> second mail store

4. smtp1.example.com -> 1st smtp and proxy

5. smtp2.example.com - 2nd smtp and proxy
so basic installation has been done successfully for all these servers. DNS record for example.com domain is belong to mail1.example.com.
But I have little confusion here and my questions are as below :
1. mail1 and mail2 ..both will be having different mail boxes ..right ? .then what is the use of server pool as any ways we have to specify the mailstore server while creating account ..
2. Individually i can access both mail stores's admin console by https:// address>:7071. Which admin console we need to refer as my default domain is belong to mail1.
3. I want to setup smtp1 for incoming and smtp2 for outgoing mail traffic. How to setup outgoing smtp? DO we need to add both MTAs entry under "Global Setting" ??
Please guide. Thanks


9450first
Posts: 33
Joined: Fri Sep 12, 2014 11:10 pm

server pool and multiple MTA

Postby 9450first » Tue Jul 12, 2011 1:07 pm

1. Yes, you'll have server pool. You don't need to specify mailstore while creating account - the account should be created using round-robin mechanism.

2. You could use both (they should be equal)

3. I think: For each server you configure as MTA smtp2. Don't put MTAs under Global Settings. That is for MTA Relay (Non-Zimbra MTA)
Hope it help.
Cheers,

first
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

server pool and multiple MTA

Postby k_k » Thu Jul 14, 2011 1:48 am

Hi First,
Thanks for your reply. That was really helpful. Right now I am facing issue with sending mails through outlook.
My proxy configuration is as below :
####################################################
Configuration of smtp1, mail1 and mail2 (For time being I kept smtp2 disconnected from this setup so only smtp1 is active.)
]$ zmprov gs `zmhostname` | grep -i port

zimbraAdminPort: 7071

zimbraBackupReportEmailSubjectPrefix: ZCS Backup Report

zimbraImapBindPort: 143

zimbraImapProxyBindPort: 7143

zimbraImapSSLBindPort: 993

zimbraImapSSLProxyBindPort: 7993

zimbraLmtpBindPort: 7025

zimbraMailPort: 8100

zimbraMailProxyPort: 80

zimbraMailSSLPort: 443

zimbraMailSSLProxyPort: 8443

zimbraMemcachedBindPort: 11211

zimbraNotifyBindPort: 7035

zimbraNotifySSLBindPort: 7036

zimbraPop3BindPort: 110

zimbraPop3ProxyBindPort: 7110

zimbraPop3SSLBindPort: 995

zimbraPop3SSLProxyBindPort: 7995

zimbraRemoteManagementPort: 22

zimbraSmtpPort: 25


]$ zmprov gcf zimbraPublicServiceHostname

zimbraPublicServiceHostname: mail1.example.com
]$ zmprov gcf zimbraPublicServiceProtocol

zimbraPublicServiceProtocol: http
]$ zmprov gcf zimbraPublicServicePort

zimbraPublicServicePort: 80

Configuration at Mail1 and Mail2 :
]$ zmprov gs `zmhostname` | grep -i smtp

zimbraSmtpHostname: smtp1.example.com

zimbraSmtpPort: 25

zimbraSmtpSendPartial: FALSE

zimbraSmtpTimeout: 60
Global Setting under Admin console :
Web Mail MTA Hostname : smtp1.example.com
###############################################################


I have created below accounts on mail1 and mail2 servers :
on mail1.exmpale.com :
abc@test1.com
On mail2.example.com :
cde@test2.com
####################################################
Now, I am able to access my admin console and webmail as below :
https://mail1.example.com:7071


And">http://mail1.example.com:8100
And I configure, Outlook with below configuration :


Incoming mail server : mail1.exmaple.com

Outgoing mail server : smtp1.example.com

Imap port : 993

POP3 port : 995

SMTP port : 465

####################################################
But I am facing below issues now :
1. When I login with abc@test1.com through webmail ( http://mail1.exmaple.com:8100 ), I am able to do mail communication without any issue.

When I login through cde@test2.com through same URl, mail communication is wokring fine but not able to see folder hierarchy at left hand side .
2. When I login with abc@test1.com through outlook with above mentioned ports and server configuration, I am able to do mail communication without any issue.
But when I login through cde@test2.com through outlook with same mentioned ports and server configuration, I am not able to login and getting below error message :
"There was a problem logging onto your mail server. Your Password was rejected. Account: 'mail1.exmaple.com', Server: 'mail1.exmaple.com', Protocol: POP3, Server Response: '-ERR operation sent to wrong host (you want 'mail2.exmaple.com')', Port: 995, Secure(SSL): Yes, Server Error: 0x800CCC90, Error Number: 0x800CCC92"
So its seem proxy not able to redirect 995 traffic to mail2.exmaple.com. Is there any misconfiguration in my setup ? or is there anything else I need to do for IMAP / POP proxy ? Why webmail is not showing folder hierarchy...Please guide ...
Thanks
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

server pool and multiple MTA

Postby k_k » Sun Jul 17, 2011 10:30 am

Can anyone please guide me on mentioned issue ?
9450first
Posts: 33
Joined: Fri Sep 12, 2014 11:10 pm

server pool and multiple MTA

Postby 9450first » Sun Jul 17, 2011 5:20 pm

It seems there is some misconfiguration.

Some points:

- You should use http://mail.example.com . Never use mail1.example.com:8100 because you will skip the proxy, which is important part in communication. (better is to stop with firewall port 8100 accessible from outside of your network)

- if you want to use proxy in front you should swap these ports in your config

zimbraImapBindPort: 143

zimbraImapProxyBindPort: 7143

...

All proxy ports should be standard ports 80, 443, 143, 993, etc. and mailbox ports should be the 7143, 7993, etc.
- you should start using only standard domain mail.example.com in all clients/browsers and you should forget and hostsnames like mail1.... mail2.... Otherwise you should uninstall proxy. The role of the proxy is exactly that - to find the right server and hide internal topology
Hope it helps.
Cheers,

first
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

server pool and multiple MTA

Postby k_k » Mon Jul 18, 2011 3:07 am

Hi First,
Thanks for your inputs. I want to use proxy so I have changed the ports on SMTP1, mail1 and mail2 as per your suggestions as below :
~]$ zmprov gs `zmhostname` | grep -i port

zimbraAdminPort: 7071

zimbraBackupReportEmailSubjectPrefix: ZCS Backup Report

zimbraImapBindPort: 7143

zimbraImapProxyBindPort: 143

zimbraImapSSLBindPort: 7993

zimbraImapSSLProxyBindPort: 993

zimbraLmtpBindPort: 7025

zimbraMailPort: 80

zimbraMailProxyPort: 8100

zimbraMailSSLPort: 8443

zimbraMailSSLProxyPort: 443

zimbraMemcachedBindPort: 11211

zimbraNotifyBindPort: 7035

zimbraNotifySSLBindPort: 7036

zimbraPop3BindPort: 7110

zimbraPop3ProxyBindPort: 110

zimbraPop3SSLBindPort: 7995

zimbraPop3SSLProxyBindPort: 995

zimbraRemoteManagementPort: 22

zimbraSmtpPort: 25

~]$


Now I want change zimbraPublicServiceHostname from mail1.exmaple.com to mail.example.com but I am confused regarding DNS setting.
In my setup all servers under multi-server environment is having their own LOCAL dns server...so on each server I have configured bind and in that mentioned respective domains and sevrer IPs details. Now my confusion is as below :
1. Which server IP I should put for mail.example.com in local DNS ?
2. DO I need to create mail.exmaple.com domain under Zimbra Admin GUI ?
Please guide.
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

server pool and multiple MTA

Postby k_k » Wed Jul 20, 2011 10:16 am

Can anyone please help me for this ?
Thanks
9450first
Posts: 33
Joined: Fri Sep 12, 2014 11:10 pm

server pool and multiple MTA

Postby 9450first » Wed Jul 20, 2011 10:57 am

1. For mail.example.com you have to put the IP of the proxy (front-end)

2. Either you create the domain or you assign virtual name (mail.example.com) to an existing domain (for one domain you could assign multiple virtual names like: domain.com, mail.domain.com)
For point 2 bear in mind authentication: before you finalize your configuration it is better to authenticate with full username user@domain.com
Cheers,

first

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 12 guests