Backdrop:
We are a small company without a huge IT department, and somebody decided it would be a good idea to install Exchange Server in replacement for the company’s mailserver. I’m a Eudora user and they can’t get Exchange Server working so that I can send email to folks outside the company. (Folks using Outlook are not having this problem. It’s a low priority for them because I’m the only person affected at the moment). I asked if they had any objections if I set up sendmail on a MacOS X box I’m using as webserver and used that as my SMTP and they said go ahead, and I’m less busy than they are at the moment.
/Backdrop
Situation:
I have sendmail working on the MacOS X box itself. I can open Eudora there and send outbound mail with no issues. The computer I use as a workstation, though, is a PowerBook with MacOS 9. Depending on where I plug it in, the PowerBook has an internal behind- the- NAT- &- firewall IP of either 192.168.1.105 or 192.168.4.105 (I can run OS X on it and in that mode can send mail from the PowerBook using its own sendmail, but I need to remain in 9 on a regular basis for the time being). When I reference the OS X box as my SMTP server, the OS X box refuses to send my outbound email, replying back “relaying denied”.
There appear to be three editable configuration files on the OS X box where changes would have a favorable effect on this problem, but I can’t seem to get it working.
a) In /usr/share/sendmail/conf/cf are some “mc” files, among which is generic-darwin.mc, which I copied and edited so as to include some additional instructions (my modifications in bold):
The “dont_blame_sendmail” is supposed to override sendmail’s irritability about some directories being group-writable, which they are under OS X but not BSD Unix. The relay_mail_from is a very non-conservative and non-cautious instruction to relay the freakin’ mail when the PowerBook asks it to.
b) In /etc/mail is a file called access.db which is created from another file simply called “access” in the same folder. The “access” file is user-editable text, and I have added relay instructions as follows:
c) in /etc there is a file called hosts, and I have added the following to the hosts file:
Despite these things, which according to my research ought to result in the OS X box doing for the PowerBook what it does for itself with sendmail, I still get email stuck in the Out box with a red “X” and the error message “relaying denied”.
I’ve been seeking help on the MacOS X Hints forum to no avail (or to no successful avail at any rate).
PS–don’t suggest switching from Eudora. Not an option.