On Sat, 1 Oct 2005, Marc Perkel wrote:
>
> I want to lookup mail4.paypal.com in a list containing paypal.com and have it
> consider paypal.com as a match.

Use partal- matching (section 9.5 of the spec).

> But - I want to somehow extract for processing the part that matched -
> the paypal.com part - not the mail5.paypal.com part - and look up the
> paypal.com part in the received headers to see if I match that.

You can put information in the value part of a lookup, which Exim puts
into $domain_data when the lookup matches. For example,

  domainlist verify_list = partial-dbm;/etc/exim/run/verifylist.db

then put in the verifylist file

  *.paypal.com  paypal.com

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to