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
  #1 (permalink)  
Old 07-10-2011, 04:03 AM
k_k k_k is offline
Active Member
 
Posts: 40
Default server pool and multiple MTA

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://<ip 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
Reply With Quote
  #2 (permalink)  
Old 07-12-2011, 11:07 AM
Active Member
 
Posts: 33
Default

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
Reply With Quote
  #3 (permalink)  
Old 07-13-2011, 11:48 PM
k_k k_k is offline
Active Member
 
Posts: 40
Default zimbra Proxy configuration issue

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
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

Last edited by k_k; 07-13-2011 at 11:50 PM.. Reason: Want to change the title
Reply With Quote
  #4 (permalink)  
Old 07-17-2011, 08:30 AM
k_k k_k is offline
Active Member
 
Posts: 40
Default

Can anyone please guide me on mentioned issue ?
Reply With Quote
  #5 (permalink)  
Old 07-17-2011, 03:20 PM
Active Member
 
Posts: 33
Default

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
Reply With Quote
  #6 (permalink)  
Old 07-18-2011, 01:07 AM
k_k k_k is offline
Active Member
 
Posts: 40
Default

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.

Last edited by k_k; 07-18-2011 at 03:46 AM..
Reply With Quote
  #7 (permalink)  
Old 07-20-2011, 08:16 AM
k_k k_k is offline
Active Member
 
Posts: 40
Default

Can anyone please help me for this ?

Thanks
Reply With Quote
  #8 (permalink)  
Old 07-20-2011, 08:57 AM
Active Member
 
Posts: 33
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.