Re: [exim] Exim4 & QueryProgram

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marco
Dátum:  
Címzett: exim-users
CC: dot
Tárgy: Re: [exim] Exim4 & QueryProgram
Tony Finch ha scritto:

>On Mon, 28 Nov 2005, Marco wrote:
>
>
>
>>LOG: H=localhost () [127.0.0.1] F=<user1@???> temporarily rejected RCPT
>>root@???: maildir_overquota2 router: command returned non-zero code 127
>>
>>
>
>That error code generally means that the shell could not execute the
>script. I suggest you check the permissions on the script itself, all the
>parent directories, and perhaps also the same for the shell itself.
>
>Tony.
>
>

I Tony,
I have already check the permissions on the script
ls -lah /usr/local/sbin/
-rwxrwxrwx root:mail checkQuota
and the all parent directories and are ok.

Why with:
exim4 -oMr spam-scanned -d -bt root@??? Exim4 work correctly:
--------> maildir_overquota2 router <--------
local_part=root domain=domain.it
calling maildir_overquota2 router
maildir_overquota2 router called for root@???: domain = domain.it
uid=8 gid=8 current_directory=/
direct command:
argv[0] = /usr/local/sbin/checkQuota
argv[1] = $local_part
argv[2] = $domain
direct command after expansion:
argv[0] = /usr/local/sbin/checkQuota
argv[1] = root
argv[2] = domain.it
command wrote: PASS
maildir_overquota2 router passed for root@???

and with: exim4 -bh IP Exim4 don't work:
--------> maildir_overquota2 router <--------
local_part=root domain=domain.it
calling maildir_overquota2 router
maildir_overquota2 router called for root@???: domain = domain.it
uid=8 gid=8 current_directory=/
direct command:
argv[0] = /usr/local/sbin/checkQuota
argv[1] = $local_part
argv[2] = $domain
direct command after expansion:
argv[0] = /usr/local/sbin/checkQuota
argv[1] = root
argv[2] = domain.it
maildir_overquota2 router: defer for root@???
message: maildir_overquota2 router: command returned non-zero code 127
----------- end verify ------------
accept: condition test deferred
SMTP>> 451 Temporary local problem - please try later

451 Temporary local problem - please try later
LOG: MAIN REJECT
H=localhost (name) [IP] F=<user1@???> temporarily rejected RCPT
root@???: maildir_overquota2 router: command returned non-zero
code 127
and exim stop.

I would make a router for check user quota... any idea to fix my
problem? (I use with router - transport procmail that not support the
check quota).

Help :-(
Thanks

Marco