Re: [exim] Conditional Forward - Exim Filter

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: doug
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Conditional Forward - Exim Filter
On Sun, 25 Sep 2005, Doug Jolley wrote:
>
> The problem is that it appears that the 'list of RFC 2822 addresses'
> contained in <string> is not what we would normally think of as a list
> in Exim.


No, it's in RFC 822 syntax. foranyaddress is designed to iterate over a
list of addresses pulled out of the message header.

> The specific problem being that it doesn't appear that I can include a
> path to a file in the list and have the contents of the file inserted in
> the list. Since the list of addresses that I want to test is fairly
> long (a few hundred), this would be real handy.


Use ${lookup

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