At this point it would be important to mention that this page is NOT for the new anti-spam version of sendmail (version 8.8 and above). There is a separate page dedicated to that since it is so different. This is strictly for my NCR/AT&T, SCO OpenServer, AIX, and Solaris boxes to be able to work ok. Also note that there is a separate page dedicated to domain masquerading on RedHat 8.0 (sendmail 8.12.5).
Steps to execute (Example shown is for OpenServer v5.0.4) :
I always use "find / -name sendmail.cf -print" to find it
hosts /etc/hosts
##### ##### Section copied from Solaris 2.6 version 8.6 version of sendmail.cf ##### Please add in between first header/comment section, and the local info area. ##### Actually right after the "SENDMAIL CONFIGURATION FILE" comment. ##### ##### ##### Dont forget to comment out any existing lines that use these ##### variable names and settings that currently exist in this file. ##### ##### Keep in mind this is from an older config file, so some options are not ##### included already. Also understand, that I am using the server named ntserver ##### as my smart mail host, which means it is the one connected to outside world ##### that can send my mail. This server happens to be my firewall/proxy/mail server ##### and is on the getthru.com domain. ##### ##### Note that this example is for SCO OpenServer v 5.0.4 (sendmail v 8.8.5), but have ##### used same exact lines for UnixWare7, and Solaris 2.6 ##### running versions 8.8.7 and 8.6 of sendmail respectively. ##### # major relay host DRntserver CRntserver # return queued mail after this long - 1 day OT1d # my official hostname Dmgetthru.com # ServiceSwitchFile option for name service search order - very important O ServiceSwitchFile=/etc/service.switch # "Smart" Relay host (may be null) DSntserver.getthru.com ##### ##### End of Paul's custom section #####
mail PaulALuz@aol.com - and include a test line.
"mailq" or "sendmail -bp"
Client Side:
More to follow ....... strike that, fixed it. I have now loaded the Option Pak's version of Microsoft SMTP server on my NT server, which is my DNS and Proxy. It tries to deliver according to hosts files first, and if that fails, it goes over the firewall/proxy. This is working fantastically for me right now. Only drawback .... Option Pak breaks the Oracle Application Server 4.0, when used with Service Pak 4. Well, back to the drawing board for that one !!