Configure Smart Host in Sun Java System Messaging Server 7 u4
I want my Sun Java System Messaging Server to forward all the incoming mails to some different host (without having a copy in data stores).
In Sendmail, we can do this by specifying DS[ip_address] in sendmail.cf file. (Often referred as smart host). How to configure smart host in Sun Java System Messaging Server? I want all the mails to be blindly forwarded to specified ip:port. Pls help. |
Quote:
In this case maybe the following could help, as I've used JES till version 6.3, so if something hasn't changed dramatically after the acquisition by Oracle the instructions should be the same. To configure a smarthost, you should edit imta.cnf (make a backup first), find the line with the tcp_local channel definition, after "channel definitions" (or something like that) and add a daemon keyword followed by the hostname or the IP of the smarthost at the end of it. The whole tcp_local channel should look something like that: Code:
! tcp_local After that you need to recompile the new configuration and reload: Code:
./imsimta cnbuild |
Thnx for the reply.
I tried adding "daemon sink.mydomain.com" in imta.cnf; it didn't help. All mails are getting stored in : /opt/sun/comms/messaging64/data/store/partition/primary/ I also went thru official documentation. It says the same thing that you suggested. Probably something is wrong in my setup. I didnt find anything useful in log files too: /opt/sun/comms/messaging64/log Any idea which log files I should inspect? |
Quote:
If you want to do this for the incoming mail, so that it's not going into the store but gets forwarded to another mailserver, I can only think that you have to create a new channel (e.g tcp_incoming) associated with a new rewrite rule, so that all incoming mail goes through that channel and finishes to your mailserver sink.mydomain.com Quote:
Code:
defaults logging notices ... Regards |
All times are GMT -5. The time now is 11:51 AM. |