Re: [Exim] Running external programs during ACL.

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nico Erfurth
日付:  
To: Lists, Exim-Users (E-mail)
題目: Re: [Exim] Running external programs during ACL.
Lists wrote:
> Hi all,
>
> Is it possible to create a condition in an ACL where an external program
> will be run? I'm not referring to anti-virus or anti-spam software, I
> want to do some statistics, and rather than parse the log file every N
> minutes, why not call an external program when the condition is met.
> The actual message will never reach the external program, as it will
> just update a DB for those stats.


warn condition = ${run {/usr/bin/program arg1 arg2 arg3}{0}{0}}

Expansion-items are SOOOO neat ;)
If you call this very often, you should consider to make your program a
daemon, and use ${readsocket...} instead.

Nico