Quote:
Originally Posted by wariola Hi All,
This is my 1st time posting, so mind the language.
I am deploying Zimbra 6 community. Currently with all the craziness of blocking port 25, one of our ISP block it. So I need to change port 25 to say port 587 for my zimbra server.
Seems that all documentation here in the forum or anywhere else on the Internet shows u need to change master.cf. I am very comfortable with the command line and Linux, so I did just that. The problem is everytime I change it, upon restart it will revert the changes. I read about the reset changes on the Administation docs but it doesnt seems to show how to bypass it.
I follow the documentation here - Changing SMTP port
Upon following the guides there, seems that all the mailbox cannot send email out. Also the master.cf reset itself to the old configuration.
My question are:- - Howto change zimbra MTA port from 25 to say port 587
- Howto ensure changes in master.cf doesnt reset itself?
Thanks a bunch. |
New ZCS installs already are configured to listen on port 587; its the "submission" port in master.cf.
Port 465 comes from a never-ratified RFC and its use should be avoided if possible. Hard to do I know with older versions of Outlook, but it's still there in Zimbra so you should be OK.
This is a common problem with traveling laptop users whose home or hotel ISP blocks port 25, where the user doesn't want (or doesn't know how) to change their Outlook settings every time they change locations.
If you see the following in /opt/zimbra/postfix/conf/master.cf.in you should be OK for now and upgrades should not change anything:
Code:
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
465 inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
submission inet n - n - - smtpd
-o smtpd_etrn_restrictions=reject
-o smtpd_sasl_auth_enable=%%zimbraMtaSaslAuthEnable%%
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o smtpd_tls_security_level=%%zimbraMtaTlsSecurityLevel%% Now, if you are saying that your ISP is blocking port 25 outbound from your Zimbra host, that's a different scenario, and I would just configure Zimbra to use your ISP's smtp server as a Relay Host. This is configured in the Admin Console.
Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO
"Uptime. All the time."
477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678
proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting