Perhaps soemthing like this needs to be configured to tell sendmail not to pass of the mail to another host??? but instead to pass it to naqi.ocs.com which is also the localhost???
Another role of sendmail is that of transporting mail to other machines. A message is transported when sendmail determines that the recipient is not local. The following lines from a typical configuration file define delivery agents for transporting mail to other machines:
Msmtp, P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,
Muucp, P=/usr/bin/uux, F=DFMhuUd, S=12, R=22/42, M=10000000,
The actual lines in your file may differ. The name smtp in the above example may appear in your file as ether or ddn or something else. The name uucp may appear as suucp or uucp-dom. There may be more such lines than we've shown here. The important point for now is that some delivery agents deal with local delivery, while others deal with delivery over a network.
Can i simpyl edit the sendmail.cf instead of having to edit the makefile and rebuild sendmail???
2.4.2 Eliminate DNS Support
If you are on a machine that does not support DNS (such as a home workstation that connects to the outside world exclusively via UUCP), you will need to exclude DNS support from sendmail. One way to tell whether your machine supports DNS is to run the nslookup(8) program. It may not be in your path, so if it is not found when you try to run it, you have to find it. Try looking in /usr/etc or /usr/sbin. If nslookup(8) hangs when you run it, your system probably does not support DNS. If it doesn't hang, its output will look like this. Just type Control-D to exit:
Default Server: localhost
If your system lacks DNS support, you must then redefine the value of NAMED_BIND as 0 in Makefile. One way to do that is to edit your Makefile and search for the line beginning with the string ENVDEF:
Append to that line the following string, which turns off DNS support inside sendmail: