Ted Cooper wrote:
> Marc Perkel wrote:
>
>> Ted Cooper wrote:
>>
>>> Steve Kemp wrote:
>>>
>>>
>>>> Unfortunately I don't think this would be a trivial thing to
>>>> do in exim - I do it externally.
>>>>
>>>>
>>> What do you use to get the URI out reliably? I also run most of my
>>> testing externally via ${readsocket} but have no method other than using
>>> SpamAssassin to get the URI out and that only gives we the raw domain names.
>>>
>> Have you looked at the perl-URI-Find module? Here's an example of how
>> it's used. Perhaps this could be used with a socket?
>>
>
> It doesn't seem to pick up all the URI I tested with. To work with
> ${readsocket} it would still need a socket listening daemon wrapper and
> a pre-processor since it requires the message to be decoded. Right now
> that might work ok with ${run} on the spool directory.
>
>
What about the ability of Exim to do perl calls?
Here's what I'm looking for. Grab as many URIs out of the message that
we can a return a list to an Exim variable for further processing.
Probably should strip out duplicates as well. Is this doable?
--
## 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/