Re: [exim] Sender Recipient Verification with callout

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: gascione
CC: exim-users
Sujet: Re: [exim] Sender Recipient Verification with callout
On Mon, 12 Jun 2006, gascione wrote:

> # For sender domains, we do callout to verify if a sender
> # exists.
> deny
> log_message = Sender verification with callout failed

! senders = lsearch;/etc/exim/list_of_OK_senders
> ! verify = sender/callout=5s,maxwait=30s
>
> # For recipient domains, we do callout to verify if a recipient
> # exists.
> deny
> log_message = Recipient verification with callout failed

! recipients = lsearch;/etc/exim/list_of_OK_recipients
> ! verify = recipient/callout


You might want to use lsearch*@ so that you can have wildcard addresses
like *@brokendomain

Or you might only care about the domain, so you can use the sender_domains
and domains conditions instead of senders and recipients respectively.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}