How to change the default SMTP port for Postfix | Support... (2024)

This document (7000872) is provided subject to the disclaimer at the end of this document.

Environment

SuSE Linux Enterprise Server 10


Situation

How to change the default SMTP port (25) for Postfix

Resolution

Launch a terminal, become the root user and edit the master.cf file located in /etc/postfix directory:

su -vi /etc/postfix/master.cf

Look for the line:

smtpinetn-n--smtpd

replace "smtp" with the port number that postfix should listen on, save the file and restart the postfix.

/etc/init.d/postfix restart

Additional Information

Notes:On the linux server, by default, postfix is running and listens on SMTP port 25. Postfix is used to send server related messages to the root user. If GroupWise Internet Agent (GWIA) need to be installed on the same linux server, you must change the listen port for one of the SMTP daemons (Postfix or GWIA) to something other than the default (port 25) so that both can co-exist on the same server.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7000872
  • Creation Date: 03-Mar-2009
  • Modified Date:12-Aug-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

How to change the default SMTP port for Postfix | Support... (2024)
Top Articles
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated:

Views: 5911

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.