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 03-25-2010, 11:14 PM
New Member
 
Posts: 3
Default [SOLVED] Change Port 25 zimbra 6

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:-
  1. Howto change zimbra MTA port from 25 to say port 587
  2. Howto ensure changes in master.cf doesnt reset itself?

Thanks a bunch.
Reply With Quote
  #2 (permalink)  
Old 03-25-2010, 11:17 PM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Are you saying that your ISP will not deliver email to your server on port 25; or that they will not accept relayed email, from your ZCS server, on port 25 ?
__________________
Reply With Quote
  #3 (permalink)  
Old 03-25-2010, 11:30 PM
New Member
 
Posts: 3
Default

basically any mail from end user using MS Outlook and cannot send out using port 25. So is there any way to change ZCS behavior to use other port when sending email using the SMTP protocol?

BTW, I'm not that familiar with mail relay.
Reply With Quote
  #4 (permalink)  
Old 03-25-2010, 11:54 PM
Moderator
 
Posts: 7,928
Default

Admin GUI -> MTA -> Enable Authentication. Your Outlook users can then set via port 465 :- Mail client Configuration - Zimbra :: Wiki
__________________
Reply With Quote
  #5 (permalink)  
Old 03-26-2010, 06:47 AM
New Member
 
Posts: 3
Default

Do I still need to do the "SMTP over SSL port 465" part for Outlook? Couldnt find the line tho.

Thanks.
Reply With Quote
  #6 (permalink)  
Old 03-26-2010, 08:47 AM
Moderator
 
Posts: 1,209
Default

Quote:
Originally Posted by wariola View Post
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:-
  1. Howto change zimbra MTA port from 25 to say port 587
  2. 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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.