-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In message <[EMAIL PROTECTED]>, Andreas Metzler
<[EMAIL PROTECTED]> writes

>I guess this
>
>[EMAIL PROTECTED]:~$ /usr/sbin/exim4 -be \
>'${if 
>match_domain{mail5.paypal.com}{paypal.com:*.paypal.com:ebay.com}{yes}{no}}
>'
>yes
>
>should make you more happy.

but earlier, Marc Perkel <[EMAIL PROTECTED]> wrote:

>> I want to lookup mail4.paypal.com in a list containing paypal.com and 
>> have it consider paypal.com as a match. 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.

I assume (I haven't tried) that you can use $0, $1 etc ... by arranging
to match a regular expression which has () brackets around the part you
wish to capture...

- -- 
richard                                              Richard Clayton

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.         Benjamin Franklin

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1

iQA/AwUBQz/YDpoAxkTY1oPiEQJVegCg3Zaka+qysrCsEYPDrrb1of0ftYkAoLC9
KqrkDvIB3yVkSL+4XaoBVr/3
=ZnMr
-----END PGP SIGNATURE-----

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