View Single Post
  #12  
Old 22nd May 2013, 15:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

The problem is that you cant run a "real" mail server without port 25. The submission port 587 is a alternative port to send out emails if you have a mail server located in a datacenter.

I will describe you now how to activte the submission port in case it is not already active, but I fear it wont solve your problem as all external servers will ty to contact your server on port 25.

Take a look into the file /etc/postfix/master.cf, there you will find a line that starts with "submission" plus a few additional lines that are indented similar to this:

Code:
#submission inet n       -       -       -       -       smtpd
#  -o syslog_name=postfix/submission
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
to activate the submission port, change it like this:

Code:
submission inet n       -       -       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
In my opinion, you cant run a normal mailserver with port 25 closed. You should consider to rent a vps server in a datacenter and use that as mailserver or at least as mail relay which acepts and sends mail for your server on port 25 and forwards these emails on the submission port to your local server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote