Postfix multiple instance problem

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 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
Who is Participating?
de2ZotjesConnect With a Mentor Commented:
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

oppofwarAuthor Commented:
here is the output you have asked for  :

tcp        0      0*               LISTEN      903/amavisd (master
tcp        0      0   *               LISTEN      14417/master    
tcp        0      0   *               LISTEN      1448/master    

Its working Thanks Buddy

root@mail:/etc/postfix-2# telnet 855
Connected to
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.