Hi,
I have (lets say) 2 Linux servers [box1, box2] on the same piece of network (but both have more than one interface), I am trying to send mail FROM box1 TO user1@box2, with sendmail -v user1@box2 I get:
user1@box2... Connecting to box2. via esmtp...
user1@box2... Deferred: Connection refused by box2.
And in the mailq I get:
[root@box1 etc]# mailq
/var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
g5Q9oDR26051 4 Wed Jun 26 10:50 ausername
(Deferred: Connection refused by box2.)
ausername@box2
Any idea where I'm going wrong ?
box2 is listining but apears to be on 127.0.0.1 not eth0
netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 *op3s *:* LISTEN
tcp 0 0 *op3 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
udp 0 0 *:32768 *:*
udp 0 0 *:npmp-local *:*
udp 0 0 *:sunrpc *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1386 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 1333 /dev/gpmctl
I have (lets say) 2 Linux servers [box1, box2] on the same piece of network (but both have more than one interface), I am trying to send mail FROM box1 TO user1@box2, with sendmail -v user1@box2 I get:
user1@box2... Connecting to box2. via esmtp...
user1@box2... Deferred: Connection refused by box2.
And in the mailq I get:
[root@box1 etc]# mailq
/var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
g5Q9oDR26051 4 Wed Jun 26 10:50 ausername
(Deferred: Connection refused by box2.)
ausername@box2
Any idea where I'm going wrong ?
box2 is listining but apears to be on 127.0.0.1 not eth0
netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 *op3s *:* LISTEN
tcp 0 0 *op3 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN
udp 0 0 *:32768 *:*
udp 0 0 *:npmp-local *:*
udp 0 0 *:sunrpc *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1386 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 1333 /dev/gpmctl