Results 1 to 6 of 6

Thread: SMTP Submission Port

  1. #1
    manthrax3 is offline Active Member
    Join Date
    Nov 2005
    Posts
    42
    Rep Power
    9

    Default SMTP Submission Port

    I like using 587 for SMTP submission because it is rarely blocked by firewalls while 25 is almost always blocked.

    To enable this in Zimbra, I uncommented the following lines in ~zimbra/postfix/conf/master.cf:

    submission inet n - n - - smtpd
    -o smtpd_etrn_restrictions=reject
    -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

    The run:

    postfix reload

    Works great. This should probably be the default behavior.

    bp

  2. #2
    jareep is offline Special Member
    Join Date
    Oct 2006
    Posts
    103
    Rep Power
    8

    Default

    I tried this and then tried getting Outlook to send email through SMTP with no luck. The client just sits there "Preparing to send/receive". I'm not really worried about receiving mail through POP/IMAP, I just need to be able to send. My users all use the webUI, but I have 1 user using FileMaker Pro to send emails. It launches Outlook to do the sending, but every since I installed the Zimbra Outlook Connector FileMaker Pro crashes immediately after sending the email. So, I want to get Outlook back to a normal state of operation using something its designed for without 3rd party addins. This user ONLY needs to send using Outlook using FileMaker Pro. All the rest of her mail activity will be using the webUI.

    Any ideas why I can't successfully send? I can telnet to port 587 and am greeted with the ESMTP Postfix message, but the Outlook client apparently isn't authenticating or something.

  3. #3
    jdell is offline Project Contributor
    Join Date
    Jul 2006
    Location
    Reno, NV, USA
    Posts
    203
    Rep Power
    9

    Default

    I've seen weirdness with Outlook where some instances would work on por 587 and some would only work on port 465. So, I would enable both and try both:

    Port 465 is the 'smtps' line in master.cf, so I'd uncomment all the lines below:

    Code:
    smtps    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_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

  4. #4
    jareep is offline Special Member
    Join Date
    Oct 2006
    Posts
    103
    Rep Power
    8

    Default

    Got it fixed. For some reason, the firewall port change didn't get applied. Then I had to add our IP range into zimbraMtaMyNetworks, now all is peachy. Thanks for the reply.

  5. #5
    ashbc is offline New Member
    Join Date
    May 2009
    Posts
    3
    Rep Power
    6

    Default /opt/zimbra/postfix/config/master.cf.in

    Hello all,

    After editing the master.cf file and then either restarting postfix (postfix reload) or Zimbra (zmcontrol stop ... then start) ... I have noticed it over writes the master.cf file back to original state.

    After some digging around I found a master.cf.in in the main postfix conf directory and noticed that Zimbra/Postfix reloads the master.cf from this ... so, I made the appropriate changes to both files and everything worked properly after zmcontrol and postfix restarts - my config changes were left unaltered.

    Hope this helps someone.

    Cheers,

    Ash

  6. #6
    fcash is offline Elite Member
    Join Date
    Jun 2007
    Location
    BC, Canada
    Posts
    281
    Rep Power
    8

    Default

    Don't edit any of the actual config files directly, as they get overwritten everytime Zimbra starts. Instead, edit the <conffile>.in files. These are the initial defaults that get pulled in by Zimbra, and used to create the actual config files.
    Freddie

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 AM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

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