| |||||||||||
| |||||||||||
An apology to Mr Boneparte
Dear Mr Boneparte (or may I call you "Napolean"),
Someone has stolen your identity, and is posting loads of adverts to "Horse's Mouth" through it for on line gambling, medical products to increase virillity, etc. I'm kinda assuming you've not opened a casino on Elba, nor are you selling "Josephine Punch" from there ... Anyway, to cut a long story short (somethng I rarely do), I've added a "mod" the the software that runs this forum so that anyone who posts from email addresses starting "napolean...." will receive a message telling them they've been rejected. It's as nice a message as I could muster up in my frustration at all the "noise" from these posts and it's nothing personal against any dictators, pigs (from Animal Farm, you understand) or others with that name. Just email me if you're genuine, and I'll let your particular address through - or your could, without problem, post from the more formal n.boneparte@elba.med Technical note The "Moveable Type" software that's used for these daily writings is widely used - there was no point in me writing my own system when there's someting far more thorough out there already. You'll find we use other standard apps like analog and YaBB here too. All are available in source. One of the downsides of using a piece os standard software is that less scrupulous people who want to find security holes through which they can poke bulk advertising are more likely to target you; a standard hole found in one system can be used to attack others, and with something like a diary that invites comments where you need a number of near-holes, it becomes a bit of a game. With access to source code, though, it's possible for a knowledgeable software administrator to apply personal fixes and standard mods too. And that's what we've done. In the case of Moveable Type, I've added # Mod by Graham Ellis to reject known spam email addresses if ($comment -> email =~ /^(jane_doe|grey_goose|azaddin|napoleon|johndoe|huy_lo|bushmills|luba|absolut|otard|gocha|absinth)/) { return $app->handle_error("A real email address is required (I don't believe the one you gave - email graham\@wellho.net if it's genuine please!)"); } # End of mod to the Comment.pm file at line 250 (that may vary from version to version ...) and my spam traffic appears to have disappeared. Great. Good. Two further issues I need to watch. Firstly, that I re-apply the mod if and when I upgrade the software - there's a support issue with mods like this - and secondly that I really haven't trapped any genuine posters as I would regard such things as "wrong side" errors - I really mustn't upset genuine commenters. I had best drop a line to Mt and Mrs Doe now too, hadn't I? FootnoteTwo thirds of the emails send to our domain are classified as junk and not even delivered to us - we keep a graph that's constantly updated to hand to track this, and very rarely do we hear of an email being accidentally rejected! (written 2005-04-11 06:18:33) Associated topics are indexed under G902 - Well House Consultants - Web site techniques, utility and visibility
Some other Articles
Spotted - the local MPGetting a list of unique values from a MySQL column Cover all the options Fire drill An apology to Mr Boneparte See 8 but buy 6. See 6 but you can buy 8. Our most popular resources Course Picture More to programming than just programming Different course every day 1696 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||