Re: [Exim] Lookups using and external application

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David S. Madole
Date:  
À: Carl Horne, exim-users
Sujet: Re: [Exim] Lookups using and external application
> Instead of using lsearch to look at a file or dbm,ldap,etc is there a
> way to run an external applications to do a lookup? I need to do a smtp
> query to GroupWise to verify the local_part. I would like to do this
> before excepting the message.


This is a built-in functionality in Exim, do similar to this:

acl_smtp_rcpt = check_rcpt

begin acl

check_rcpt:

     accept
       verify = recipient/callout
       domain = example.com


     deny
       message = Recipient address unknown


You need to read about "Address Verification" in the documentation:

http://www.exim.org/exim-html-4.30/doc/html/spec_toc.html#TOC282

David