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/[EMAIL PROTECTED]
> 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/[EMAIL PROTECTED]'
?
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.
-Phil
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/