[TIP][10.3] SMTP server

  • Thread starter Corentin Cras-Méneur
  • Start date
C

Corentin Cras-Méneur

Hi All,

Some of us have had some issues with their Exchange SMTP servers
(refusing to send e-mail for alternate addresses or simply refusing to
send any mail at all). MacOS X 10.3 now has Postfix preinstalled whichc
can turn your Mac into an SMTP server.


If the port 25 is open on your network (which is often the case), you
can turn your own Mac into your SMTP server very easely in MacOS X 10.3
(it is far more complex in 10.2.8 which uses Sendmail by default instead
of Postfix).

You can use your favorite editor (I use BBEdit) or do it through
pico, vim......) with administrator privileges (sudo through the
Terminal).

In /etc/hostconfig replace
MAILSERVER=-AUTOMATIC-
with
MAILSERVER=-YES-

In /etc/postfix/master.cf at line 77, iyou need to de-comment "smtp".
Replace:
# smtp
with
smtp


in the Terminal, then enter:
sudo postfix start


authenticate AND THAT'S IT !!!!! You're done :)))
The address of your own personnal SMTP is now "localhost" (without the
quotes of course).


Extra configuration can be perform editing the /etc/postfix/main.cf
This file is fairly straightforward.The default settings are rather
safe: They even disable any relaying from other machines..... You
shouldn't turn your Mac into a relay for spammers :)))

After a modification in the configuration file, simply enter in the
Terminal:
sudo postfixt restart


This saved my life (well my e-mails) here since our Exchange server
won't send e-mails unless the From address corresponds to its user list,
preventing me to send anything from my numerous alternate addresses...


Corentin



PS: I should add "use at your own risk" :)) I can just tell you than
I've been using Postfix for a while now and it has been smoother than
ever. No problem on my Mac whatsoever.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top