On Sat, 2011-02-12 at 20:07 +0100, Robert Fekete wrote:
On 02/12/2011 05:12:55 PM, Gergely Nagy wrote:
Further plans include authentication & starttls support. libesmtp supports both, I just didn't have time to write the neccessary glue code yet.
Authentication & starttls are nice things, but making e-mail sending available as patterndb actions would be much cooler, IMHO. (Even though there is probably a workaround for it even with this driver.)
From what I see, actions generate messages to internal(), so one can catch them there, filter and route to a mail destination, much like the example in the syslog-ng docs that sends triggered messages to an external application: just replace the d_triggers destination.
I don't think implementing direct sending from patterndb would be a good idea, for various reasons. One being I have no idea how I'd go around coding it properly. -- |8]