Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello
I was configured the posfix on two ip address
postfix status
postfix/postfix-script: the Postfix mail system is running: PID: 19218
postfix-second/postfix-script: the Postfix mail system is running: PID: 19287
but when i run the netstat command
like this
netstat -nlp | grep 2525
tcp 0 0 xx:xx:xx:xx:2525 0.0.0.0:* LISTEN 19218/master
but my second ip address listen port not shown
plese help me how can i resolve this issues
Maybe strace -p ..... (on the 2nd PID); also lsof!
Post diff of the 2 config files
Does -second work *IF run ALONE*? data_direcotry *MUST* be different!
*maybe* experiment with using port 225 (instead of 2525 [ms-v-worlds])
(telnet localhost 2525? ifconfig -a to check both ip's...)
I assigned the port 2525 in master.cf file on both postfix instance
there is two ip address
xx.xx.xx.96
xx.xx.xx.12
first postfix instance (xx.xx.xx.96) working fine
telnet xxxxxxxx.in 25
Trying xx.xx.xx.96...
telnet: connect to address xx.xx.xx.96: Connection refused
[root@QVM730 ~]# telnet xxxxxxxx.in 2525
Trying xx.xx.xx.96...
Connected to xxxxxxxx.in.
Escape character is '^]'.
220 host.xxxxxxxx.in ESMTP Postfix (2.10.1)
ehlo xxxxxxxx.in
250-host.xxxxxxxx.in
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:conatct@xxxxxxxx.in
250 2.1.0 Ok
rcpt to:harshml26@gmail.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
hjasbdsajd
.
250 2.0.0 Ok: queued as 0C7FD2006179CF
quit
221 2.0.0 Bye
Connection closed by foreign host.
second postfix instance xx.xx.xx.12 not working
telnet info.xxxxxxxx.in 2525
Trying xx.xx.xx.12...
telnet: connect to address xx.xx.xx.12: Connection refused
here is config file of the both postfix
first one is xx.xx.xx.96
In main.cf file
queue_directory = /var/spool/postfix
myhostname = host.xxxxxxxx.in
mydomain = xxxxxxxx.in
myorigin = $mydomain
inet_interfaces = xxxxxxxx.in
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = xx.xx.xx.96/28, 127.0.0.0/8
In master.cf file
xx.xx.xx.96:2525 inet n - n - - smtpd
In master.cf file
xx.xx.xx.12:2525 inet n - n - - smtpd
postfix status
postfix/postfix-script: the Postfix mail system is running: PID: 958
postfix-xx.xx.xx.12/postfix-script: the Postfix mail system is running: PID: 1027
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.