Results 1 to 6 of 6

Thread: [SOLVED] Change Port 25 zimbra 6

  1. #1
    wariola is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    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.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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 ?

  3. #3
    wariola is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    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.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Admin GUI -> MTA -> Enable Authentication. Your Outlook users can then set via port 465 :- Mail client Configuration - Zimbra :: Wiki

  5. #5
    wariola is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default

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

    Thanks.

  6. #6
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 11:38 AM
  2. [SOLVED] parts_decode_ext error
    By jsabater in forum Administrators
    Replies: 7
    Last Post: 10-13-2008, 07:24 AM
  3. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  4. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  5. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •