Author: Marcin Mirosław Date: To: exim-users@exim.org Subject: [exim] event_action: one wish and one question
Hi!
Thank you for tool more universal than TPDA.
I wrongly configured event_action, I used too levels of brackets:
event_action = ${if eq {msg:delivery}{$event_name} { {${lookup
pgsql{SQL_POCZTA_WYCH}}} } }
I added those line in transport. And then in main log I got:
2015-06-14 23:47:32 1Z4FfI-00048y-FX == aaaaaa@???
R=dnslookup_batv T=external_smtp_batv defer (2): No such file or directory
I spent a couple of minutes to find out what was the reason of this.
Could it be possible to add some more information to logged information
that this error comes from event_action?
I'd like to use more than one action in event_action (I'd like to insert
tuple into database and add line to log, probably using
perl{Exim::log_write}). What is correct syntax to have multiple actions
in event_action?