libMilterPHP for postfix and sendmail

Hello everyone!

In case you are interested to develop your own postfix/sendmail milter (filter) in PHP, I just released the latest version of libMilterPHP.

You may install it via rpm packages:

dnf copr enable mksanthi/noumenia
dnf install libMilterPHP

Or via composer:

composer require noumenia/libmilterphp

PS:
In case you don’t know what a “milter” is, its a daemon that runs along with an SMTP daemon like postfix or sendmail, and incoming mail is passed to the milter, which can do all sorts of magic. Implement corporate restrictions, open attachments, convert images, parse/search mail contents and all sorts of interesting things.

PS2:
Does it work with other SMTP software? If they support the Milter protocol then yes, but they are untested.

PS3:
Why code it in PHP? Because PHP is awesome, it can do lots of nice things that are not web related. Its actually quite powerful and uses on 4MB of ram! Its also easy to code and memory safe.