PDA

View Full Version : A web site bauble


thudfactor
09-12-2001, 09:04 AM
Mom says to me yesterday, after I got ahold of her to tell her I was OK, "I checked your web site. It would be nice to have something people could put on their web sites where they could post emergency notes or information." That's got me pondering: how would I go about setting up a box on my web page that I could update automatically via email? Does anyone have anything like this in place?

I'm thinking a cron daemon that runs every so often to check an email account and change content on the page when there's an email message there.

Of course, there are some security issues too -- but technically, what processes would I want to start looking at to set something like this up?

sheila
09-12-2001, 10:26 AM
I think you would want to get into using the .qmail files and running mail-activated scripts.

Make some private address that only you know...
secret@thudfactor.com

and have a file
.qmail-secret

And in the .qmail file is a call to a script, that when an e-mail is received at that address, it runs the script and takes the contents of the e-mail and uses that content to update a page (or pages) on your website.

Something like that.