ispCP - Board - Support
SMTP PORT - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: SMTP PORT (/thread-14858.html)



SMTP PORT - pcangel - 07-26-2011 04:19 AM

421 Cannot connect to SMTP server ***.***.*** (***.***.***.***), connect time
out


Connection to host lost.

C:\Documents and Settings\Administrator>telnet domain.com 26
Connecting To ns.hostcom.org...Could not open connection to the host, on port 26
: Connect failed

C:\Documents and Settings\Administrator>telnet domain.com 26
Connecting To ns.hostcom.org...Could not open connection to the host, on port 26
: Connect failed

How i can change my SMTP 25 default port to another.

PHP Code:
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
10026 inet n 
- - smtpd
#       -o receive_override_options=no_address_mappings                         # Uncomment this line, when unsing AMaViS
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# For AOL-Accounts
587       inet  n       -       -       -       -       smtpd
        
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       
-       -       -       0       cleanup
qmgr      fifo  n       
-       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  
-       -       -       -       -       trivial-rewrite
bounce    unix  
-       -       -       -       0       bounce
defer     unix  
-       -       -       -       0       bounce
trace     unix  
-       -       -       -       0       bounce
verify    unix  
-       -       -       -       1       verify
flush     unix  n       
-       -       1000?   0       flush
proxymap  unix  
-       -       n       -       -       proxymap
smtp      unix  
-       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
        
-o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  
-       -       -       -       -       error
discard   unix  
-       -       -       -       -       discard

local     unix  
-       n       n       -       -       local
virtual   unix  
-       n       n       -       -       virtual
lmtp      unix  
-       -       -       -       -       lmtp
anvil     unix  
-       -       -       -       1       anvil
scache    unix  
-       -       -       -       1       scache
# ====================================================================
# ispCP о┴ (OMEGA) a Virtual Hosting Control System
#
# @copyright    2001-2006 by moleSoftware GmbH
# @copyright    2006-2011 by ispCP | http://isp-control.net
# @version              SVN: $Id: master.cf 3762 2011-01-14 08:43:43Z benedikt $
# @link                 http://isp-control.net
# @author               ispCP Team
# ====================================================================
# for AMaViS and spam filter support
amavis    unix  -       -       n       -       2       smtp
   
-o smtp_data_done_timeout=1200
   
-o smtp_send_xforward_command=yes
   
-o disable_dns_lookups=yes

localhost
:10025 inet  n -       n       -      -        smtpd
   
-o content_filter=

   -
o content_filter=
   -
o local_recipient_maps=
   -
o relay_recipient_maps=
   -
o smtpd_restriction_classes=
   -
o smtpd_client_restrictions=
   -
o smtpd_helo_restrictions=
   -
o smtpd_sender_restrictions=
   -
o smtpd_recipient_restrictions=permit_mynetworks,reject
   
-o smtpd_override_options=no_address_mappings
   
-o mynetworks=127.0.0.0/8
   
-o strict_rfc821_envelopes=yes

# ispCP autoresponder
ispcp-arpl unix  -      n       n       -       -       pipe
  flags
=O user=vmail argv=/var/www/ispcp/engine/messenger/ispcp-arpl-msgr

# TLS - Activate, if TLS is avaiable/used
smtps     inet  n       -       -       -       -       smtpd
   
-o smtpd_tls_wrappermode=yes
   
-o smtpd_sasl_auth_enable=yes
#   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#
# ====================================================================

# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags
=DRhu user=vmail argv=/usr/bin/maildrop -${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags
=Fqhu user=uucp argv=uux ----a$sender $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe

bsmtp     unix  
-       n       n       -       -       pipe
  flags
=Fquser=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail
-backend unix  -       n       n       -       2       pipe
  flags
=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags
=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  
${nexthop} ${user}
dovecot unix n n - - pipe
  flags
=DROhu user=vmail:mail argv=/usr/lib/dovecot/deliver -${sender} -${recipient} -s
this is my master
.cf