Re: WOMailDelivery outside the firewall
Re: WOMailDelivery outside the firewall
- Subject: Re: WOMailDelivery outside the firewall
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Tue, 20 Apr 2004 12:57:14 -0700 (PDT)
On Tue, 20 Apr 2004, Jonathan Rochkind wrote:
> At 12:00 PM -0700 4/20/04, Deirdre Saoirse Moen wrote:
> >Actually, you don't need a running SMTP server, you can use it in
> >standalone mode IF you're sending the mail from localhost.
>
> But can you get WOMailDelivery to work running it in 'standalone
> mode'? I think you need an SMTP server (in daemon mode, I guess) for
> WOMailDelivery. But I could be wrong, just trying to work through
> the issues.
You'd definitely need an SMTP server in daemon mode if you weren't sending
the mail from the machine you were running the WO app on.
On the localhost, sendmail would be called, launched, executed, and would
exit after sending the mail. That's standalone mode.
You can try this by typing the following:
mail -s "this is a test" deirdre@localhost < /dev/null
This will launch mail (an MDA), then launch sendmail (an MTA), then
deliver it locally. You don't have to have an SMTP daemon running for
this. If that doesn't work (using your own user name), then there's other
issues.
I haven't experimented (yet) with doing WO mail from localhost, but I have
to confess that I'd be surprised if it didn't work. Mail is so integral to
Unix that weird things break if you don't have a working mail server,
running in daemon mode or not.
I don't know that standalone mail will solve all of the OP's problems, but
it is a way to test the code without dealing with a bunch of sysadminly
issues (like firewalls).
However, this happens to be the next problem I have to solve on my own
project -- after I get the Big Scheduling Mess (a data issue, not a coding
one) done.
--
_Deirdre http://deirdre.net
"Ideally pacing should look like the stock market for the year 1999, up
and up and up, but with lots of little dips downwards...."
-- Wen Spencer on plotting a novel
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.