Re: [exim] Help crafting a prefix-only hostname wildcard mat…

Top Page
Delete this message
Reply to this message
Author: Dan_Mitton
Date:  
To: Dave Evans
CC: exim-users
Subject: Re: [exim] Help crafting a prefix-only hostname wildcard match
Have you tried something like:

${extract{1}{.}{$sender_host_name}}



Sent by:        exim-users-bounces@???
To:     exim-users@???
cc:      (bcc: Dan Mitton/YD/RWDOE)
Subject:        Re: [exim] Help crafting a prefix-only hostname wildcard 
match
LSN: Not Relevant
User Filed as: Not a Record


On Wed, Dec 31, 2008 at 04:53:28PM +0000, W B Hacker wrote:
> Wanted:
>
> A match to the first suffix *only* in a $sender_host_name or
> $sender_helo_name, regardless of presence, absence, or count of
> subsequent suffixes, if any, or even a proper <domain>.<tld>
>
> Can someone please kick me w/r what I am missing?


Regex?

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey
--
## 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/