Open Terminal (/Applications/Utilites/Terminal)
Type the following (or just copy and paste into terminal directly from this webpage).
-------------------------------------------------------------------------------------------
sudo -s
[enter your admin password]
pico /etc/hostconfig
[change MAILSERVER=-NO- to MAILSERVER=-YES-]
control+o [hit return to save]
control+x
pico /System/Library/StartupItems/Sendmail/Sendmail
**ABOVE the line "/usr/sbin/sendmail -bd -q1h", add the following on a line all by itself:
chmod g-w / /Users
**
control+o [return]
control+x
pico /etc/crontab
[add the following to at the very end exactly like it looks below on two lines replacing username with your real username]
MAILTO=username
0 * * * * chmod g-w / /Users /
control+o [return]
control+x
-------------------------------------------------------------------------------------------
Restart your Mac.
Open Terminal again and type
telnet localhost 25
you should see something like this
"Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 macosxs-computer.local ESMTP Sendmail 8.12.7/8.12.2; Mon, 7 Apr 2003 19:46:35 -0700 (PDT)"
Type quit
Sendmail is up and running and will now send mail directly from your computer.
Go into your mail client like Apple Mail and replace the outgoing server with "localhost" no username or password needed.
Your mail client will send mail now from localhost to any other computer and put your account's correct return address on it (the one that you recieve mail at).
