Autor: Phil Pennock Data: Para: Daniel Aquino CC: exim-users Asunto: Re: [exim] Recipient Checking
On 2007-12-24 at 12:22 -0500, Daniel Aquino wrote: > I'm using the following router to do some initial testing.
>
> checkuser:
> driver = accept
> condition = ${readsocket{/usr/local/mail/sock/recipient}{$local_part@$domain\n}}
> transport = local_delivery
> cannot_route_message = Unknown user
>
> My daemon is responding with true/false and ascii char 26 which is eof
> as the docs for ${readsocket} explain.
> I also tried with \n
>
> Yet when it appears to accept the recipient even when I send false!
What do you see with:
$ exim -d+expand -be '${readsocket{/usr/local/mail/sock/recipient}{foo@???\n}}'
?
It should go through normal startup, show you the results of calculating
'sender address' and then expand the condition, including showing the
response from the socket.