[Exim] running external commands

トップ ページ
このメッセージを削除
このメッセージに返信
著者: B .Schulte
日付:  
To: exim-users
題目: [Exim] running external commands
Hello newsgroup,

I tried to do some checks in in my acl_check_rcpt "outside" exim 4.34 in an
external command... so I read the fine manual, and found:
" ${run{<command> <args>}{<string1>}{<string2>}} "
OK...
so I modified my ACL like this:

/* this is the first check of this acl ... */
deny    condition = ${run {/path/to/prg/myprg $sender_address
$local_part@$domain} {1} {0}}
        message = "some useful info ... blah"


I checked it with exim -bh 127.0.0.1
....
and I always get the same : "condition check failed" ... though the programm
itslef works properly....
So my second attempt:
/* very simple test (?) */
warn message = ${run {echo $sender_address $local_part@$domain}}

- ---> I got no message, the condition check tells me the warning should be
printed ....

What am I doin wrong ?!



- ------------------------------
B. Schulte
- ------------------------------