Shai Weinstein's blog

Setup postfix to work with Amazon SES

This short guide is for Ubuntu Linux but can work on any distro. (just use your distro's package manager).

  1. first of all make sure that your Amazon account have SES enabled and that your account is authorised to use the full service.
    the default after adding SES to your account is sandbox mode.

  2. install stunnel4 and postfix:

    apt-get install stunnel4 postfix

Apache solr search in hebrew (and probably arabic) documents in Drupal - PDF problem & solution

We recently had a client request to search inside user's uploaded Documents for some online tenders.
Dupal's apachesolr and apachesolr_attachments modules with Apache's solr do the work but we have an exotic language and.. exotic challenges...
When extracting text from the uploaded PDFs - the uploaded Hebrew PDF indexes the words backwards (not being aware to Right To Left text)...

Drupal development site code updates using GIT-Pull

We started using GIT SCM for all the new development projects.
GIT's advantages are widely discussed elsewhere- it is fast, efficient, and is a DVCS.
The reason that is important is that it's much faster than SVN and the branching is so easy you don't think about it much as you develop (much less SVN merge drama :) )