On 2007-12-12 at 03:14 -0500, Daniel Aquino wrote:
> I'm looking for a simple way to do recipient checking against my own
> external daemon.
> 
> I have come up with a few possible way to do this:
> 
>   1) Get queryprogram to simply query a unix socket instead?
> 
>      Problem) I doubt it supports this.

You almost had it.

You can use an "accept" Router with "verify_only" on it, with
${readsocket}.  Untested:

verify_against_my_funky_daemon:
  driver = accept
  verify_only
  domains = +local_domains
  condition = ${readsocket{/path/to/[EMAIL PROTECTED]

The socket response should be 'yes' or some other Exim true value.

No transport required because it's only used for verification.

The documentation on the ${readsocket} expansion item explains the
tuning you can do; eg, changing response timeout.

-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/

Reply via email to