I have been reading and reading and I thank all the poisters for the helpful advice posted on configuring sendmail. But despite all this wonderful advice, I still can't seem to get email addressed to our own local domain to get delivered to our Exchange box. The mail going outbound to external addresses works fine, but anythign addressed to a local address seems to stay on the AIX box in that users mailbox waiting to be read there.
I have tried so many different settings and in reality, so much works properly, I don't want to start over. My hope is that if I list everything that has been modified in my sendmail.cf file, that someone will be able to tell me which, if any, are needed, and which are not.
Mail from AIX to external email address works fine.
Mail in from anywhere works fine.
Mail from AIX to Exchange user does not go through.
sendmail.cf lines I have changed:
(I have used generic names in <> symbols)
------------------------------------------
Dw<name-of-my-ibm-box>
Dm<mydomain.com>
Cwlocalhost Dj<mydomain.com>
DSsmtp:<name-of-exchange-box-in-etchosts>
DRsmtp:<name-of-exchange-box-in-etchosts>
DHsmtp:<name-of-exchange-box-in-etchosts>
#CL root
#CE root
DL<name-of-exchange-box-in-etchosts>
DM<name-of-exchange-box-in-etchosts>
# Comment out this rule if you want all mail to go to the
# Smart-Host relay defined by "DS" macro.
#R$* < @ $* .$=m. > $* $#esmtp $@ $2.$3. $: $1 < @ $2.$3. > $4
I want mail sent from the IBM business application to come from mydomain.com and not from hostname.mydomain.com. This is now working fine which makes the RDNS lookups work.
The only thing is that if I send to user@mydomain.com, it won't got to Exchange server and account. It stays on the IBM.
I made sure localhost and the exchange box are defined in /etc/hosts as 127.0.0.1 and the IP of my Exchange server.
I have tried so many things, I have noi idea of one setting is screwing up another - one that would work.
I have tried so many different settings and in reality, so much works properly, I don't want to start over. My hope is that if I list everything that has been modified in my sendmail.cf file, that someone will be able to tell me which, if any, are needed, and which are not.
Mail from AIX to external email address works fine.
Mail in from anywhere works fine.
Mail from AIX to Exchange user does not go through.
sendmail.cf lines I have changed:
(I have used generic names in <> symbols)
------------------------------------------
Dw<name-of-my-ibm-box>
Dm<mydomain.com>
Cwlocalhost Dj<mydomain.com>
DSsmtp:<name-of-exchange-box-in-etchosts>
DRsmtp:<name-of-exchange-box-in-etchosts>
DHsmtp:<name-of-exchange-box-in-etchosts>
#CL root
#CE root
DL<name-of-exchange-box-in-etchosts>
DM<name-of-exchange-box-in-etchosts>
# Comment out this rule if you want all mail to go to the
# Smart-Host relay defined by "DS" macro.
#R$* < @ $* .$=m. > $* $#esmtp $@ $2.$3. $: $1 < @ $2.$3. > $4
I want mail sent from the IBM business application to come from mydomain.com and not from hostname.mydomain.com. This is now working fine which makes the RDNS lookups work.
The only thing is that if I send to user@mydomain.com, it won't got to Exchange server and account. It stays on the IBM.
I made sure localhost and the exchange box are defined in /etc/hosts as 127.0.0.1 and the IP of my Exchange server.
I have tried so many things, I have noi idea of one setting is screwing up another - one that would work.