You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jeff: From Martin Marcher. Might no longer be an issue.
Hello,
short: change the service=TcpTable MBean under the subetha Options. (stop,
change, apply, start) - still returns the localhost IP
trying to get the tcp transport to work with postfix.
My setup is the following:
DNS is set up for internal and external network separately but yields the right
values.
mx.example.com :: Postfix
2 NICs (1 Public, 1 Private)
Private IP 10.0.0.1
subetha.example.com :: jboss with subetha
1 NIC
Private IP 10.0.0.2 (hostname is subetha.example.com)
reachable by postfix
all mail to lists.example.com is routed there
Now looking up the protocol in http://www.postfix.org/tcp_table.5.html I made up
the following session.
# nc subetha.example.com 2502
get everyone@lists.example.com
200 smtp:[127.0.0.1]:2500
# postmap -q "everyone@lists.example.com" tcp:subetha.example.com:2502
smtp:[127.0.0.1]:2500
as you can see the problem is that subetha returns 127.0.0.1 as the transport
endpoint which of course won't work.
* Now go to you jboss at Port 8080
* Open the jmx Management Console
* Search for the Subetha Options
* go to the the "service=TcpTable" link
* invoke "stop()"
* HostName set to subetha.example.com
* Apply Changes
* Refresh MBean View reloads the page with the correct hostname
* invoke "start()" (No errors until here)
Now again (first postmap then nc):
# postmap -q "everyone@lists.example.com" tcp:subetha.example.com:2502
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
# postmap -q "everyone@lists.example.com" tcp:subetha.example.com:2502
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
postmap: warning: read TCP map reply from subetha.example.com:2502: unexpected
EOF (Operation now in progress)
smtp:[127.0.0.1]:2500
#
# nc subetha.openforce.com 2502
get everyone@lists.openforce.com
#
Problems:
1. Subetha still returns the localhost IP
2. as postmap indicates there seems to be some problem restarting the MBean
correctly (forgive me the lack of terms, new to JBoss and SubEtha)
Original issue reported on code.google.com by lhori...@gmail.com on 4 Jun 2009 at 11:00
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
lhori...@gmail.com
on 4 Jun 2009 at 11:00The text was updated successfully, but these errors were encountered: