Tag - dotclear

Entries feed - Comments feed

Last entries

Mon 08 Apr 2013

  • David Mentré

A new machine for this blog

I recently migrated this blog to a new machine and changed some configuration parameters. The new server is a bit less powerful also less expensive. :-)

The new URL of this blog is now blog.bentobako.org. All previous links should be correctly forwarded to and handled by the new web server.

For the technically inclined, I use Postfix as SMTP server, Dovecot as IMAP server, Nginx as web server and Dotclear as blog software. I am quite happy with Nginx which is light, well documented and of which configuration is easy to understand. I was using Lighttpd previously but dropped it because is was not well maintained (no new version for a long time) and not well documented.

My Dovecot and Postfix configuration allow virtual users (as many users as you like) with shared authentication between them (same login and password). I might publish my configuration if some are interested. Let me know!

Tue 01 Feb 2011

  • David Mentré

Lutter contre le spam avec Dotclear

Les lecteurs de ce blog ont remarqué qu'il y avait beaucoup de spam dans les commentaires. Cela devenait gênant et j'ai apparemment fini par trouver une combinaison qui limite la plupart (tous ?) des spams tout en laissant les commentaires ouverts à tous :

  • le plugin Bad Words fourni par défaut dans Dotclear ;
  • le plugin Spamplemousse2 qui implémente un filtre bayésien. Ce filtre fonctionne par apprentissage et se corrige quand on lui indique ses erreurs[1].

Pour Bad Words, les regexp suivantes limitent pas mal de spam:

  • /wholesale/
  • /helpful/
  • /glad\s+it\s+was\s+useful/
  • /enjoyed/
  • /interesting/
  • /information\s+for\s+me/

Si ça peut aider d'autres...