-
Website
http://technosailor.com -
Original page
http://technosailor.com/2006/10/25/how-to-configure-your-mac-to-send-mail-regardless-of-where-you-are/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
AndyBeard
7 comments · 4 points
-
Rob
12 comments · 168 points
-
Lucretia (GeekMommy) Pruitt
4 comments · 16 points
-
chrisbachmann
5 comments · 1 points
-
chrispian
4 comments · 1 points
-
-
Popular Threads
Hmmmm.....
You write that if the line exists in /etc/hostconfig you have to change it to -NO-, but if it does not exist you have to add it with -YES-.
That seems strange to me.
I'm going to give this a try and see - I work from 3 different locations, all of which restrict SMTP mail to their own servers.
Thanks for the tip!
Use a tunneling program, like putty (which is windows)
'Google' for ssh tunnel thunderbird
This should get you info on how to do it.
Google for open ssh macintosh and you should find a mac program which works like putty. (no flames please, windows at work, mac at home) where I don't need ssh...
Brian: firewall blocking port 25?
MRZ: the bottom line is you need the line MAILSERVER=-YES- in the file. If the MAILSERVER line exists, great Make sure it is set to -YES-. If it doesn't exist, add it.
Brandon, Rom, McGu: You can configure it to go out on port 587, but that is not in this how-to.
Also, there may be some issues sending email from your own SMTP server, like recipient's mail server thinking you're sending SPAM.
I'll keep tinkering with it, but I think it might be easier just to set my web server to a different port.
Omar
That's a postfix startup script. Postfix is already installed on your mac, and instead of having it run 24/7, you could just fire it up when needed by running:
sudo postfix start
in a Terminal.
www.mostofmymac.com
to help you get the most out of your mac...
http://www.cutedgesystems.com/software/PostfixE...
Basically every email provider worth going with has port 587 open. They also have TLS and SMTP auth enabled.
Turning these on in Mail.app and Thunderbird are simple. Last time I had to setup Mail.app these settings were turned on by default, even. I think Mail.app checks to see if they're supported now.
The advantages of doing this? You don't have to worry about port 25 blocks. Your mail always comes from the same source, so you don't have to worry about being on IP space that's been blacklisted.
The disadvantages? You can't say you run your own mail server. I really can't think of any more.
As time goes on, you'll only have adjust this more, or wait to send mail until you get to a location it actually works from. Better to use the proper SMTP server via port 587 and be done with it.
So yeah, it might not be the best way but I had very legit reasons for doing it this way.
Plus not to mention if you send e-mail to certain ISPs they do not allow mail from dynamic hosts (which I assume most of you will be using because you don't have a static ms setup)
sudo chown -R 0:0 Postfix
should be
sudo chown -R 27:29 Postfix.
I believe. Postfix already has passwd/group entrys and for security reasons, should not be the ROOT user.
=eas=
What you have to do for Entourage is use port 465 and SSL. I don't know how widely it's supported, however I'd assume that it's supported by all mail providers that support 587 with StartTLS, considering the problem also affects Outlook, which most users use.
I found a page on yale.edu that does a good job of showing how to configure this.
http://www.yale.edu/its/email/howdoi/authentica...
I still stand by statement that running postfix on your local machine is a stupid idea. There are too many problems associated with sending directly from wherever you happen to be for this to be considered anything but a last-ditch solution.
If you run Postfix on your own mail server, you can easily enable port 465 (aka smtps) in /etc/postfix/master.cf. Set the args to "-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes" and you've effectively duplicated the setup for port 587.
http://longtailend.com/index.php/2006/08/31/smt...
http://cutedgesystems.com/software/PostfixEnabler/
it's cheap and it works.