On Saturday 28 April 2007 01:01, James Price wrote:
> If a message is classified as spam by a spam based ACL entry, I'd like to
> update a table in my mysql database to record a few things such as source
> IP, sender domain, date, etc etc. I know how to handle mysql lookups
> within the exim config, but I am not sure on how to use an insert query
> from within the ACL, or where I would do this. Ultimately this is for data
> gathering purposes to generate reports and trends.
Like this in an ACL:
spam = nobody (or whatever username you use)
condition = ${lookup mysql{INSERT INTO ... }{true}{true}}
Exim 4.67 has a new ACL modifier that has no effect; with that you don't need
the {true}{true} part.
--
Magnus Holmgren holmgren@???
(No Cc of list mail needed, thanks)