Welcome to MacForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

configuring /usr/bin/mail

 
   Macintosh computer (Home) -> System RSS
Related Topics:
Can you mail merge from Apples Numbers to Mail? If not wha.. - I am new to a Mac a I used to mail merge from Excel to Entourage very easily. Is this possible using numbers and iMail? I have about 30 Thanks.

Can Mail.app import Netscape mail messages? - My wife has been using Netscape to handle her email for several years now. I finally persuaded her to use Mail.app, and have set her up for that with one exception -- I haven't found a way to import her old messages. Mail has an

Mail in OS 10.3 - Does anyone know if there is a way to delete selected mail messages from the server like you can with Outlook Express in OS 9.2? Thanks, Jij

Mail app down - Mail has suddenly started crashing when accessing unread mail files. This may be connected with Default Folder X 1.9.3, which went in just before the trouble started, but I've disabled that app without any change. Mail OSX 10.3.2..

Mail - I just got a new Imac and want to set up my mail, can I use my Hotmail account and if so how do i set it up? Thanks, Rick
Author Message
John

External


Since: Nov 15, 2007
Posts: 41



(Msg. 1) Posted: Mon Feb 11, 2008 2:14 pm
Post subject: configuring /usr/bin/mail
Archived from groups: comp>sys>mac>system (more info?)

Is there a "dummies" guide for configuring /usr/bin/mail
for a Leopard system behind a DSL broadband router? e.g.
after configuring sendmail, do I have to poke a hole
for port 25 in the router, and... or...

I'd like to cron automate some notification emails.

Thanks, John

 >> Stay informed about: configuring /usr/bin/mail 
Back to top
Login to vote
Ian Gregory

External


Since: Nov 03, 2007
Posts: 178



(Msg. 2) Posted: Mon Feb 11, 2008 4:20 pm
Post subject: Re: configuring /usr/bin/mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-02-11, John <jhy001.TakeThisOut@earthlink.net> wrote:
> Is there a "dummies" guide for configuring /usr/bin/mail
> for a Leopard system behind a DSL broadband router? e.g.
> after configuring sendmail, do I have to poke a hole
> for port 25 in the router, and... or...

/usr/bin/mail does not require configuration, but it does
rely on having a running SMTP server for sending email.
So your question is really about getting an SMTP server
running, and with recent versions of Mac OS X that would
be postfix rather than sendmail (unless you really want to
install sendmail). You only need to open up port 25 incomming
if you want to accept SMTP connections from other machines,
which most people don't.

Ian

--
Ian Gregory
http://www.zenatode.org.uk/ian/

 >> Stay informed about: configuring /usr/bin/mail 
Back to top
Login to vote
Tim McNamara

External


Since: Dec 06, 2003
Posts: 835



(Msg. 3) Posted: Mon Feb 11, 2008 6:10 pm
Post subject: Re: configuring /usr/bin/mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <47B09E7C.3070902 RemoveThis @earthlink.net>,
John <jhy001 RemoveThis @earthlink.net> wrote:

> Is there a "dummies" guide for configuring /usr/bin/mail for a
> Leopard system behind a DSL broadband router? e.g. after configuring
> sendmail, do I have to poke a hole for port 25 in the router, and...
> or...
>
> I'd like to cron automate some notification emails.

Unless you're setting up a mail server there's no need to configure that
stuff. This ain't Linux, after all. We got all kinds of handholding.

OS X uses PostFix not sendmail, unless for some reason you really want
to go through installing and then configuring sendmail. Some people
like doing those things. There's a shareware program called PostFix
Enabler that will get PostFix up and running an about a minute, if you
really need a Unix-y mail transfer agent.

Here's some of the available tools from various vendors in an
easy-to-search presentation:

http://www.pure-mac.com/email.html

Or you can check www.versiontracker.com, of course.
 >> Stay informed about: configuring /usr/bin/mail 
Back to top
Login to vote
John

External


Since: Nov 15, 2007
Posts: 41



(Msg. 4) Posted: Mon Feb 11, 2008 9:01 pm
Post subject: Re: configuring /usr/bin/mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tim McNamara wrote:
> Unless you're setting up a mail server there's no need to configure that
> stuff. This ain't Linux, after all. We got all kinds of handholding.
>
> OS X uses PostFix not sendmail, unless for some reason you really want
> to go through installing and then configuring sendmail. Some people
> like doing those things. There's a shareware program called PostFix
> Enabler that will get PostFix up and running an about a minute, if you
> really need a Unix-y mail transfer agent.
>
> Here's some of the available tools from various vendors in an
> easy-to-search presentation:
>
> http://www.pure-mac.com/email.html
>
> Or you can check www.versiontracker.com, of course.

Hmm. PostFix enabler seems to do much more than I need. I only need
to make "mail" send out messages with my return address being my
ISP's address. Any replies would come to my ISP and be read with
Thunderbird.

I see that the postfix process is not started by default. It seems all
I need do is make sure it gets started (further research required) and
make a couple of simple tweaks (maybe, research required) to allow
a cron job to send such mail. I was hoping someone could point me
to the actual short list of steps required. No more, no less.
I'm afraid PostFix enabler (not free, and research required) will
mess things up because it wants to do too much "under the hood".
I'm trying to avoid all the personal "research required" steps,
if possible.

Or is what I want really more complicated than this?

Years ago on large UNIX servers, I had a short list of instructions
for configuring sendmail for our environment on out of the box UNIX
machines provided by a local sendmail "expert". I'm trying to find
similar instructions required without having to learn/relearn all about
sendmail or postfix. I'd think there would be a helpful short tip
sheet for this for Mac OS X users. Yes?

Thanks, John
 >> Stay informed about: configuring /usr/bin/mail 
Back to top
Login to vote
schreberdp

External


Since: Dec 10, 2004
Posts: 704



(Msg. 5) Posted: Tue Feb 12, 2008 7:44 am
Post subject: Re: configuring /usr/bin/mail [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-02-12, John <jhy001.DeleteThis@earthlink.net> wrote:
> Hmm. PostFix enabler seems to do much more than I need.

Yes.

If all you're looking for is a way to send mail from the command line
or a shell script, it's much easier to use mutt. See mutt.org. Make
sure you get a recent version -- ignore the "stable" one, which is
ancient. This approach will by-pass all the postfix hacking, and has
many more options, including sending attachments, etc. It builds out
of the box. DO NOT install a porting package like fink or macports
just for this. Mutt is also an outstanding mail reader, probably the
most flexible and powerful one that runs in osx. But that's another
story.

If you still want to, or for some reason have to, use /usr/bin/mail,
keep reading.



> I only need to make "mail" send out messages with my return address
> being my ISP's address.

You want the return address is to be "jhy001@earthlink.net" (or
whatever your real address is)? You should be able to do that by
setting the REPLYTO environment variable. You can also fiddle with a
couple of parameters in /etc/postfix/main.cf, though it's simpler if
your username on the local machine is the same as your username on the
ISP.


> I see that the postfix process is not started by default.

Shouldn't matter, since a launch daemon is watching the queue
directory. If a piece of outgoing mail gets queued, it will start up
and process it. In general you do NOT want postfix running all the
time for your purposes.


> It seems all I need do is make sure it gets started (further
> research required) and make a couple of simple tweaks (maybe,
> research required) to allow a cron job to send such mail.

You don't need to do any of this.

What you do need to worry about when sending mail directly in this
way, instead of going through your ISP's smtp server, is the fact that
some percentage ISPs you're sending to won't accept mail from random
sender hosts. If you run into that you might want to look into
configuring postfix to relay everything through your ISP's smtp
server. See the 'relayhost' setting.
 >> Stay informed about: configuring /usr/bin/mail 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]