Hello all,

I finally managed to find some time and clean some edges and enhance the envelope scan patch for qmail-ldap.

On the new version, the scanner is no longer called with arguments and all the information for analysis is passed using env vars.

Another change is the possibility to perform checking in two separate stages of the SMTP conversation. The scanner can now be called at the RCPT state and/or and the END-OF-MESSAGE state. Also that decision is made using env vars.

I took the chance to export more relevant information, like the auth username, if the user is authenticated by SMTPAUTH (it also adds that info to the headers of the message), the number of recipients, the size of the message (both the ESMTP size and the computed message size).

The new version is available here

http://hmonteiro.net/patches/qmail-ldap_envelope_scan

Be sure to read the README.ENVELOPE_SCAN file after patching


All these new things made me want to change the scanner i wrote and use. It's called qenvscan-policyd, and it takes advantage of the above patch and one of many SMTP ACL Policy servers around (those are usually used with Postfix). I personally prefer Policyd.

Also the earlier version had a few issues so this version is actually a major rewrite. The earlier version worked with command line parameters, in the case one wanted this new scanner version but didn't want to recompile qmail-ldap with the new envelope-scan patch, there is a compile time option for legacy installs.

The new version is available here

http://hmonteiro.net/software/qenvscan-policyd

Be sure to read the INSTALL file.


Althoug i should work a bit more on it, you can find more detailed information with the doc files provided.


Coments, as always, are welcomed.

Best regards,

Hugo Monteiro.

--
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : hugo.monte...@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Centro de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt             ap...@fct.unl.pt

ci.fct.unl.pt:~# _

Reply via email to