Home > Archive >  2008 >  November >  24


Technical followup

Monday, November 24, 2008 by Dave Winer.

Of all the techniques offered for stopping and starting Apache on Windows, the one that worked the best was using a batch command: net stop apache2.2 to stop it and net start apache2.2 to start it.  Permalink to this paragraph

A picture named yeah.gifIt's not perfect, because the batch file runs asynchronously from my script call, so it's hard to know when it's okay to proceed, since the call to stop Apache returns long before Apache is stopped; same thing with restarting. But this approach is much better than all the other suggested approaches. Still wish there were a program I could send a message to, which waits until Apache is stopped before returning. And it, predictably, took hours to sort through all the options. Permalink to this paragraph

Another problem in switching servers to EC2 is getting a mail relay agent running, so NewsJunk can send emails to people following it via email. When spam became a big issue it became harder to set up mail servers as they tried to defend against people using them for spam. So I thought I had stumbled across something excellent, Godaddy, which is registrar for many of my domains, offers SMTP mail relays. So I set it up and tried a one-line script calling tcp.sendmail but I'm getting an error message that's hard to parse.  Permalink to this paragraph

553 Sorry, that domain isn't in my list of allowed rcpthosts. Permalink to this paragraph

I called their support line, but they have no clue what it means. They say I should use Outlook or Entourage or AppleMail. I said I'm doing it from a script inside my web app. They say they don't support that. Okay, but they're a registrar that doesn't serve people who run websites? They usually have smart, polite support people -- but this time they were trying to BS me. Not appreciated, Godaddy. Permalink to this paragraph

Anyway, I trawled around looking for a clue what that error means, and it's hard to parse. It could be that something hasn't propogated through DNS or it could mean their defenses think I'm a spammer (I'm not). Permalink to this paragraph

So I may be back to zero again. Can't run the IIS mail server because of a weirdness of EC2, life gets more complicated if you depend on configuring the OS and I want to keep it simple, using an off the shelf image of Windows rather than customizing one. Permalink to this paragraph




     

Recent stories:



A picture named dave.jpgDave Winer, 53, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Dave Winer Mailto icon


My most recent trivia on Twitter.



© Copyright 1994-2008 Dave Winer Mailto icon.

Last update: 12/16/2008; 5:22:12 PM Pacific. "It's even worse than it appears."

Click here to view blogs commenting on  RSS 2.0 feed.