1833778 Members
2510 Online
110063 Solutions
New Discussion

sendmail config

 
SOLVED
Go to solution
patrick_119
Advisor

sendmail config

Hi,

Need some help. I know this is an HP UX forum but we have just moved to HP UX 11.11 from tru64. Its a SENDMAIL problem. And i think config's may be similar. We have this sendmail running on a Tru64 Unix 4.0F server which hosts Oracle Apps.

let me describe: A module(OAlerts) of Oapps sends mails to our internal employees whenever Purchase requisitions/order/etc. are pending for their action.

What has happened is that we have CHANGED OUR SMTP SERVER to a new win2003 box with a new ip and all the mails from the QApps have just stopped. The consultant tells us that there is some change required in the sendmail config on the unix box. This is a legacy box. We need help. Anyone who can.. please help us.

thanks in advance,

Patrick
6 REPLIES 6
Patrick Wallek
Honored Contributor
Solution

Re: sendmail config

Check in the sendmail.cf, or whatever the equivalent is on Tru64, and look for the name or IP address of you old SMTP server. It will probably be in the mail relay (I think) section. If you find the old name or address, change it to reflect the name or IP address of your new W2K3 SMTP server. You will then probably have to stop and restart sendmail on the box.
patrick_119
Advisor

Re: sendmail config

Thanks Patrick,

Will try this out.

rgds

Pat
Vijaya Kumar_3
Respected Contributor

Re: sendmail config

Okay, Based on your issues i have so many questions to ask before giving any recommendations...

It seems to be that you changed your mail server to a new Windows 2003 Box. Now, you are trying to send mail from HP-UX box. Am i right?

Based on this let me give you my recos. There are two places this may be two places this may be encoded. One is by a sendmail relay on HP-UX box, And the second one is due with the application.

try sending a sample mail from HP-UX box to see what really happens!

sendmail -v -d8.99 -d38.99 someuser@mydomain

This command is used to troubleshoot sendmail related issues. Run this along with your modified version (you may need to edit the final email address) and see what really happens. This command will wait for your input type something like "test mail" and press Control+D.

This will send a test mail immediately and respond with whatever issues it is facing.

It may get a wrong IP Address, Route, etc.

The second issue may be with the application which is encoded with the IP address of the Old sever. Check with your Application administrators.

-Vijay



Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
patrick_119
Advisor

Re: sendmail config

Many Thanks Vijay. Actually sendmail is running on a Tru64 4.0F box and the SMTP has been changed from a NT server to a Win2003 server.

rgds

Pat
Vijaya Kumar_3
Respected Contributor

Re: sendmail config

Also,Try this from Tru64 Box:

telnet 172.23.5.10 25

172.23.5.10 is the Windows SMTP Server IP address. This command will connect to port 25 (SMTP PorT) of the Windows server and will connect to the port. If you are able to connect using this command, you dont have much problem on the Windows SMTP Server side.


-Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Armin Kunaschik
Esteemed Contributor

Re: sendmail config

Hi there,

look for any lines starting with DS, DR and DH.
These lines look like
DSsmtp:somehost.somedomain
or
DResmtp:[som.dotted.ip.address]
or maybe just
DHsomehost.somedomain

Change them to the new ip/name and restart
the sendmail process with /sbin/init.d/sendmail stop, /sbin/init.d/sendmail start

Hope this helps.
Armin
And now for something completely different...