Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Postfix multiple instance problem

Posted on 2011-02-26
2
Medium Priority
?
1,084 Views
Last Modified: 2012-05-11

I have created  new instance of postfix as postfix-2 using postmulti command ,I have edited the master.conf of instance postfix-2 to open port 855 for smtp.But still unable to see or connect to open port 855.

Please fins main.cf and master for main instance and postfix-1 in attachement.

here are the steps which i did to create 2nd instance.

# postmulti -e init
# postmulti -I postfix-2 -e create

My requirement is to tun bot instances separately eg. 1st instance runs on port 25 and 2nd runs on port 855



 main-postfix.txt main-postfix.txt master-postfix.txt main-postfix-2.txt master-postfix-2.txt
0
Comment
Question by:oppofwar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
de2Zotjes earned 2000 total points
ID: 34986324
From where are you connecting to this port 855? Because in the master-postfix-2 file that instance is told to only listen on localhost.

Could you run this command and paste the output here?
netstat -tlnp|grep master

Open in new window

0
 
LVL 3

Author Comment

by:oppofwar
ID: 34986534
here is the output you have asked for  :

tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      903/amavisd (master
tcp        0      0 0.0.0.0:855             0.0.0.0:*               LISTEN      14417/master    
tcp        0      0 0.0.0.0:825             0.0.0.0:*               LISTEN      1448/master    

Its working Thanks Buddy

root@mail:/etc/postfix-2# telnet 10.0.0.185 855
Trying 10.0.0.185...
Connected to 10.0.0.185.
Escape character is '^]'.
220 mail.localdomain ESMTP Postfix (@@DISTRO@@)


but i was confused due to nmap output , it didnt show 855 open

22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
110/tcp   open  pop3
143/tcp   open  imap
993/tcp   open  imaps
995/tcp   open  pop3s
3306/tcp  open  mysql
10024/tcp open  unknown


Anyways thanks for clearing my confusion
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question